XSS in Opencart
CVE-2025-45893
OpenCart version 4.1.0.4 is vulnerable to a Stored Cross-Site Scripting (XSS) attack via SVG file uploads used in blog posts. The vulnerability arises because SVG files uploaded through the media manager are not properly sanitized. Attackers can craft a malicious SVG file containing embedded JavaScript
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (16.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Opencart
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Product)
- cve@mitre.org (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-45893?
- CVE-2025-45893 is a medium-severity vulnerability in Opencart, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-07-25.
- How severe is CVE-2025-45893?
- Medium severity. CVSS v3 base score is 6.1 out of 10.