TYPO3-CORE-SA-2019-013: Cross-Site Scripting in Fluid Engine

Categories: Development Created by Oliver Hader
It has been discovered, that TYPO3 CMS is vulnerable to cross-site scripting.
  • Component Type: TYPO3 CMS
  • Vulnerable subcomponent: Fluid Engine (package typo3fluid/fluid)
  • Release Date: May 7, 2019
  • Vulnerability Type: Cross-Site Scripting
  • Affected Versions: 8.0.0-8.7.24 and 9.0.0-9.5.5
  • Severity: Medium
  • Suggested CVSS v3.0: AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C
  • CVE: not assigned yet

Problem Description

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 TYPO3 versions 8.7.25 or 9.5.6 that fix the problem described.

Credits

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

General Advice

Follow the recommendations that are given in the TYPO3 Security Guide. Please subscribe to the typo3-announce mailing list.

General Note

All security related code changes are tagged so that you can easily look them up in our review system.