CVE-2023-37611: Neos CMS Cross Site Scripting vulnerability
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.5031%
CWE
Published
9/19/2023
Updated
1/16/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 |
|---|---|---|---|
| neos/media-browser | composer | < 7.3.19 | 7.3.19 |
| neos/media-browser | composer | >= 8.0.0, < 8.0.16 | 8.0.16 |
| neos/media-browser | composer | >= 8.1.0, < 8.1.11 | 8.1.11 |
| neos/media-browser | composer | >= 8.2.0, < 8.2.11 | 8.2.11 |
| neos/media-browser | composer | >= 8.3.0, < 8.3.9 | 8.3.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from rendering direct links (assetProxy.originalUri) to uploaded SVG files without proper content validation. The pre-patch code in showAction and editAction passed untrusted asset proxies to views that generated <a href> links. The fix introduced a checkForMaliciousContent() method to validate SVGs before allowing original URI links, confirming these controller actions were the vulnerable entry points. The templates' use of assetProxy.originalUri in anchor tags without prior validation created the XSS vector when malicious SVGs were accessed directly.