Advisory

GHSA-7733-hjv6-4h47

Also known as: BIT-typo3-2020-15241, CVE-2020-15241

Summary

Cross-Site Scripting in ternary conditional operator

Details

> ### 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/fluid v2.5.5)
  • TYPO3 v9.5.6 (using typo3fluid/fluid v2.6.1)

Credits
Thanks to Bill Dagou who reported this issue and to TYPO3 core merger Claus Due who fixed the issue.

References

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-10-08 19:55 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

11 affected packages; all Packagist · All systems
PackageAffectedFix
typo3fluid/fluidintroduced 2.0.0, fixed 2.0.5The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.1.0, fixed 2.1.4The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.2.0, fixed 2.2.1The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.3.0, fixed 2.3.5The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.4.0, fixed 2.4.1The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.5.0, fixed 2.5.5The export has no generic command for this ecosystem.
typo3fluid/fluidintroduced 2.6.0, fixed 2.6.1The export has no generic command for this ecosystem.
typo3/cms-coreintroduced 8.0.0, fixed 8.7.25The export has no generic command for this ecosystem.
typo3/cms-coreintroduced 9.0.0, fixed 9.5.6The export has no generic command for this ecosystem.
typo3/cmsintroduced 8.0.0, fixed 8.7.25The export has no generic command for this ecosystem.
typo3/cmsintroduced 9.0.0, fixed 9.5.6The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences