MODX allows cross-site scripting (XSS) via an SVG file
A cross-site scripting (XSS) vulnerability has been identified in MODX prior to 3.1.0. The vulnerability allows authenticated users to upload SVG files containing malicious JavaScript code as profile images, which gets executed in victims' browsers when viewing the profile image.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | modx/revolution | <= 3.1.0 | no fix |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
modx/revolution- Disclosed
- 13.03.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hm54-fg2w-2g6j - CC BY 4.0
Vulnerability history: modx/revolution
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 11.2021 03.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 5
- Medium 7
- Low 1
Disclosures per year
- 2021: 1
- 2022: 12
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
MODX allows cross-site scripting (XSS) via an SVG file this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.