GitHub Advisory Database
GHSA-6qjf-7g3j-qx25
Neos CMS Cross Site Scripting vulnerability
Details
Cross Site Scripting (XSS) vulnerability in Neos CMS 8.3.3 allows a remote authenticated attacker to execute arbitrary code via a crafted SVG file uploaded to the neos/management/media component. To make use of this attack vector, the attacker must either be able to upload a maliciously crafted file or coerce someone with the needed access to upload said file to Neos. Even if such a file is uploaded and subsequently delivered, it is possible to use CSP to protect against attacks being executed from such a file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | neos/media-browser | All versions before 7.3.19 (fixed in 7.3.19) |
| Packagist | neos/media-browser | From 8.0.0 before 8.0.16 (fixed in 8.0.16) |
| Packagist | neos/media-browser | From 8.1.0 before 8.1.11 (fixed in 8.1.11) |
| Packagist | neos/media-browser | From 8.2.0 before 8.2.11 (fixed in 8.2.11) |
| Packagist | neos/media-browser | From 8.3.0 before 8.3.9 (fixed in 8.3.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-37611
- https://github.com/neos/neos-development-collection/issues/4833
- https://github.com/neos/neos-development-collection/pull/4812
- https://github.com/neos/neos-development-collection/commit/4ac0df04d2e44e164e95887b466075dde3f04045
- https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html
- https://digi.ninja/blog/svg_xss.php
- https://github.com/neos/neos-development-collection
- https://github.com/neos/neos-ui/releases/tag/8.3.4
- https://rodelllemit.medium.com/stored-xss-in-neo-cms-8-3-3-9bd1cb973c5b