Vulnerability advisory
GHSA-7733-hjv6-4h47
Cross-Site Scripting in ternary conditional operator
Also known as BIT-typo3-2020-15241CVE-2020-15241
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
| Affected | Fixed in |
|---|---|
2.0.0 to before 2.0.5 | 2.0.5Advisories → |
2.1.0 to before 2.1.4 | 2.1.4Advisories → |
2.2.0 to before 2.2.1 | 2.2.1Advisories → |
Also listed as affected (1) | |
2.3.0 to before 2.3.5 | 2.3.5Advisories → |
2.4.0 to before 2.4.1 | 2.4.1Advisories → |
Also listed as affected (1) | |
2.5.0 to before 2.5.5 | 2.5.5Advisories → |
2.6.0 to before 2.6.1 | 2.6.1Advisories → |
Also listed as affected (1) | |
| Affected | Fixed in |
|---|---|
8.0.0 to before 8.7.25 | 8.7.25Advisories → |
9.0.0 to before 9.5.6 | 9.5.6Advisories → |
typo3/cms Packagist
All typo3/cms advisories →| Affected | Fixed in |
|---|---|
8.0.0 to before 8.7.25 | 8.7.25Advisories → |
9.0.0 to before 9.5.6 | 9.5.6Advisories → |
Description
Meta
- 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)- CWE-79
:information_source: This vulnerability has been fixed in May 2019 already, CVE and GHSA were assigned later in October 2020
Problem
It 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.
{showFullName ? fullName : defaultValue}
Solution
Update 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.
Updated versions of this package are bundled in following TYPO3 (typo3/cms-core) releases:
- TYPO3 v8.7.25 (using
typo3fluid/fluidv2.5.5) - TYPO3 v9.5.6 (using
typo3fluid/fluidv2.6.1)
Credits
Thanks to Bill Dagou who reported this issue and to TYPO3 core merger Claus Due who fixed the issue.
References
References
- Webgithub.com/TYPO3/Fluid/security/advisories/GHSA-7733-hjv6-4h47 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-15241 ↗
- Webgithub.com/TYPO3/Fluid/commit/9ef6a8ffff2e812025fc0701b4ce72eea6911a3d ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2020-15241.yaml ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2020-15241.yaml ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3fluid/fluid/CVE-2020-15241.yaml ↗
- Packagegithub.com/TYPO3/Fluid ↗
- Webtypo3.org/security/advisory/typo3-core-sa-2019-013 ↗