Cross-Site Scripting in ternary conditional operator
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | typo3/cms | >= 8.0.0, < 8.7.25, >= 9.0.0, < 9.5.6 | 8.7.25, 9.5.6 |
| Composer package | typo3/cms-core | >= 8.0.0, < 8.7.25, >= 9.0.0, < 9.5.6 | 8.7.25, 9.5.6 |
| Composer package | typo3fluid/fluid | >= 2.0.0, < 2.0.5, >= 2.1.0, < 2.1.4, >= 2.2.0, < 2.2.1, >= 2.3.0, < 2.3.5, >= 2.4.0, < 2.4.1, >= 2.5.0, < 2.5.5, >= 2.6.0, < 2.6.1 | 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5, 2.6.1 |
References
- https://github.com/TYPO3/Fluid/security/advisories/GHSA-7733-hjv6-4h47
- https://nvd.nist.gov/vuln/detail/CVE-2020-15241
- https://github.com/TYPO3/Fluid/commit/9ef6a8ffff2e812025fc0701b4ce72eea6911a3d
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2020-15241.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2020-15241.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3fluid/fluid/CVE-2020-15241.yaml
- https://github.com/TYPO3/Fluid
- https://typo3.org/security/advisory/typo3-core-sa-2019-013
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-601, CWE-79- Platform
- Composer
- Package
typo3/cms, typo3/cms-core, typo3fluid/fluid- Disclosed
- 08.10.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7733-hjv6-4h47 - CC BY 4.0
Vulnerability history: typo3/cms-core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 128
- First → latest
- 09.2018 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 35
- Medium 84
- Low 8
Disclosures per year
- 2018: 2
- 2019: 0
- 2020: 13
- 2021: 15
- 2022: 34
- 2023: 3
- 2024: 38
- 2025: 8
- 2026: 15
-
Cross-Site Scripting in ternary conditional operator this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.