GHSA-8m6j-p5jv-v69w: TYPO3 Cross-Site Scripting in Online Media Asset Rendering
5.4
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:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| typo3/cms | composer | >= 7.0.0, < 7.6.32 | 7.6.32 |
| typo3/cms | composer | >= 8.0.0, < 8.7.21 | 8.7.21 |
| typo3/cms | composer | >= 9.0.0, < 9.5.2 | 9.5.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper encoding in URL construction and HTML attribute generation. The patch diff shows critical changes: 1) Replacing urlencode() with rawurlencode() in OEmbed URL construction, 2) Adding htmlspecialchars() encoding in iframe src attributes, 3) Introducing proper attribute escaping via implodeAttributes(). The vulnerable functions directly handled user-controlled video IDs and URL parameters without sufficient encoding, enabling XSS when malicious content was injected into YouTube/Vimeo media identifiers. The high confidence comes from clear pre-patch absence of encoding and post-patch security-focused encoding additions.