CVE-2025-45893: OpenCart - Stored XSS
- Cve: CVE-2025-45893
- Name: OpenCart - Stored XSS
- Description: 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
- Impact: Attackers can execute persistent scripts in users' browsers, leading to session hijacking or other malicious actions.
- Remediation: Update to the latest version with proper SVG sanitization.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker needs ability to upload SVG files via media manager
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0028
- Epss percentile: 0.20774
- Assignee: [email protected]
- Published at: 2025-07-25T17:15:32Z
- Age in days: 487
- Modified at: 2026-06-17T09:25:49Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-45893
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://packetstorm.news/files/id/202886 | nvd | Third Party Advisory |
| https://www.opencart.com | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opencart:opencart | <= 4.1.0.4 | no | nvd | /v1/products/opencart/opencart |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 1843
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports