CVE-2024-34356:
TYPO3 vulnerable to Cross-Site Scripting in the Form Manager Module
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24443%
CWE
Published
5/14/2024
Updated
5/14/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
typo3/cms-core | composer | >= 9.0.0, <= 9.5.47 | 9.5.48 |
typo3/cms-core | composer | >= 10.0.0, <= 10.4.44 | 10.4.45 |
typo3/cms-core | composer | >= 11.0.0, <= 11.5.36 | 11.5.37 |
typo3/cms-core | composer | >= 12.0.0, <= 12.4.14 | 12.4.15 |
typo3/cms-core | composer | >= 13.0.0, <= 13.1.0 | 13.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues: 1) Insecure HTML generation in Form Manager's reference display logic where user-controlled values (form names, record data) were concatenated into DOM elements without HTML entity encoding. 2) Missing input sanitization when persisting form data, allowing XSS payloads to be stored. The patch explicitly adds SecurityUtility.encodeHtml()
calls in the TypeScript/JavaScript
view layer and ArrayUtility::stripTagsFromValuesRecursive
in PHP
controller actions to address these vectors. The functions
identified directly handled untrusted data without these protections in vulnerable versions.