GHSA-85ch-44w7-rf32: TYPO3 Cross-Site Scripting in Fluid ViewHelpers
6.1
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
6/7/2024
Updated
6/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| typo3/cms | composer | >= 8.0.0, < 8.7.23 | 8.7.23 |
| typo3/cms | composer | >= 9.0.0, < 9.5.4 | 9.5.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from three Fluid ViewHelpers that improperly handled user input encoding. The commit diff shows critical fixes: 1) HtmlentitiesViewHelper switched from ENT_COMPAT to ENT_QUOTES (to encode single quotes) and added string casting, 2) StripTagsViewHelper and UrlencodeViewHelper added checks for __toString() objects and enforced string casting. These functions directly process user input for output rendering, and their pre-patch behavior allowed XSS vectors through incomplete encoding and object handling. The test cases added in the commit explicitly verify proper encoding of objects with __toString(), confirming these were the vulnerable points.