CVE-2020-15241: Typo3fluid/fluid Cross-Site Scripting Vulnerability
MODERATECVE-2020-15241 is a MODERATE (CVSS 4.7) cross-site scripting vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Typo3fluid/fluid libraries in the Packagist ecosystem. The issue involves cross-site scripting in ternary conditional operator. Remediation is available by upgrading affected packages to version 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5, 2.6.1, 8.7.25, 9.5.6.
CVE-2020-15241 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2020-15241
To remediate this vulnerability, upgrade all affected Typo3fluid/fluid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade typo3fluid/fluid to 2.0.5
Upgrade typo3fluid/fluid to 2.1.4
Upgrade typo3fluid/fluid to 2.2.1
Upgrade typo3fluid/fluid to 2.3.5
Upgrade typo3fluid/fluid to 2.4.1
Upgrade typo3fluid/fluid to 2.5.5
Upgrade typo3fluid/fluid to 2.6.1
Upgrade typo3/cms-core to 8.7.25
Upgrade typo3/cms-core to 9.5.6
Upgrade typo3/cms to 8.7.25
Upgrade typo3/cms to 9.5.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for typo3fluid/fluid
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15241, inspect your project dependencies for Typo3fluid/fluid:
inspect dependencies for typo3fluid/fluid
Analyze the terminal output to locate any version of Typo3fluid/fluid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Typo3fluid/fluid, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15241 Affected Typo3fluid/fluid Versions
11 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
typo3fluid/fluid
|
Packagist |
≥ 2.0.0
< 2.0.5
|
2.0.5
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.1.0
< 2.1.4
|
2.1.4
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.2.0
< 2.2.1
|
2.2.1
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.3.0
< 2.3.5
|
2.3.5
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.4.0
< 2.4.1
|
2.4.1
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.5.0
< 2.5.5
|
2.5.5
|
|
typo3fluid/fluid
|
Packagist |
≥ 2.6.0
< 2.6.1
|
2.6.1
|
|
typo3/cms-core
|
Packagist |
≥ 8.0.0
< 8.7.25
|
8.7.25
|
|
typo3/cms-core
|
Packagist |
≥ 9.0.0
< 9.5.6
|
9.5.6
|
|
typo3/cms
|
Packagist |
≥ 8.0.0
< 8.7.25
|
8.7.25
|
|
typo3/cms
|
Packagist |
≥ 9.0.0
< 9.5.6
|
9.5.6
|
References
Frequently Asked Questions
What is CVE-2020-15241?
Which Typo3fluid/fluid versions are affected?
What version fixes CVE-2020-15241?
Is typo3fluid/fluid affected?
Is typo3/cms-core affected?
What is the CVSS score of CVE-2020-15241?
What CWE is associated with CVE-2020-15241?
How can I check Packagist dependencies for CVE-2020-15241?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7733-hjv6-4h47",
"modified" : "2021-11-19T15:11:11Z",
"published" : "2020-10-08T19:55:53Z",
"aliases" : [ "CVE-2020-15241" ],
"summary" : "Cross-Site Scripting in ternary conditional operator",
"details" : "> ### Meta\n> * CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C`(5.0)\n> * CWE-79\n\n---\n\n:information_source: This vulnerability has been fixed in May 2019 already, CVE and GHSA were assigned later in October 2020\n\n---\n\n### Problem\nIt has been discovered that the Fluid Engine (package `typo3fluid/fluid`) is vulnerable to cross-site scripting when making use of the ternary conditional operator in templates like the following.\n\n```\n{showFullName ? fullName : defaultValue}\n```\n\n### Solution\nUpdate to versions 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5 or 2.6.1 of this `typo3fluid/fluid` package that fix the problem described.\n\nUpdated versions of this package are bundled in following TYPO3 (`typo3/cms-core`) releases:\n* TYPO3 v8.7.25 (using `typo3fluid/fluid` v2.5.5)\n* TYPO3 v9.5.6 (using `typo3fluid/fluid` v2.6.1)\n\n### Credits\nThanks to Bill Dagou who reported this issue and to TYPO3 core merger Claus Due who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2019-013](https://typo3.org/security/advisory/typo3-core-sa-2019-013)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0"
}, {
"fixed" : "2.5.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3fluid/fluid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.0"
}, {
"fixed" : "2.6.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.7.25"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.7.25"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.5.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TYPO3/Fluid/security/advisories/GHSA-7733-hjv6-4h47"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15241"
}, {
"type" : "WEB",
"url" : "https://github.com/TYPO3/Fluid/commit/9ef6a8ffff2e812025fc0701b4ce72eea6911a3d"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2020-15241.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2020-15241.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3fluid/fluid/CVE-2020-15241.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TYPO3/Fluid"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-core-sa-2019-013"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-10-08T19:55:04Z",
"nvd_published_at" : "2020-10-08T21:15:00Z"
}
}