OpenMage magento-lts before 20.18.2 Stored XSS via Product Custom Option SVG Upload
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 12, 2026
Description
OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a stored cross-site scripting vulnerability in Mage_Catalog_Model_Product_Option_Type_File, which accepts guest SVG, XHTML, or XML uploads through product File custom options with an empty allowed-extension list. Unauthenticated attackers can send the file URL under media/custom_options/ to victims, executing script in the store origin and exposing administrator sessions when the admin panel shares that origin.
| Product | Versions |
|---|---|
| magento-lts OpenMage | before 20.18.2 Affected20.18.2 Not Affected |
| magento-lts OpenMage | 21.0.0-beta1 to before 21.0.0-beta3 Affected21.0.0-beta3 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-v7mx-rv47-452m)Vendor Advisory
- Patch CommitPatch
- Patch CommitPatch
- Patch CommitPatch
- VulnCheck Advisory: OpenMage magento-lts before 20.18.2 Stored XSS via Product Custom Option SVG UploadThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.