CVE-2025-45893
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk22th percentile - higher than 22% of all known CVEs
Summary
OpenCart version 4.1.0.4 is vulnerable to stored Cross-Site Scripting (XSS) via SVG file uploads used in blog posts. SVG files uploaded through the media manager are not properly sanitized, allowing embedded malicious JavaScript.
Risk Assessment
An attacker can execute arbitrary JavaScript in the browsers of blog visitors, hijacking sessions or stealing data.
Recommendation
Update OpenCart to a patched version. Implement validation and sanitization of uploaded SVG files.
Other vulnerabilities in OpenCart
See all- CVE-2026-18412Critical
The OpenCart v4.2.0.0 extension installer does not validate that extracted paths stay within the intended directory. An attacker can craft a malicious extension with path traversal sequences to write files, such as a PHP web shell, into the webroot.
- CVE-2021-47923Critical
OpenCart version 3.0.3.8 contains a session fixation vulnerability that allows attackers to hijack user sessions by injecting arbitrary values into the OCSESSID cookie. Attackers can set malicious OCSESSID cookie values that the server accepts and maintains, enabling session takeover and unauthorized access to user accounts.
- CVE-2026-142012Low
A vulnerability was determined in OpenCart up to 4.1.0.4. Affected is an unknown function of the file admin/view/template/design/translation_form.twig of the component Admin Language Editor. Executing a manipulation of the argument route can lead to cross site scripting. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.
- CVE-2026-142011Low
A vulnerability was found in OpenCart up to 4.1.0.4. This impacts an unknown function of the file catalog/controller/information/information.php. Performing a manipulation results in cross site scripting. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
- CVE-2026-142010Low
A vulnerability has been found in OpenCart up to 4.1.0.4. This affects the function index of the file catalog/controller/product/product.php of the component Product Handler. Such manipulation leads to cross site scripting. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.
- CVE-2026-142009Low
OpenCart up to 4.1.0.4 has a flaw in the index function of upload/catalog/controller/product/category.php in the Category Handler component that causes cross-site scripting. Remote exploitation is possible, and a public exploit has been published and may be used. The vendor was contacted early but did not respond.
- CVE-2026-119558Low
OpenCart through 4.1.0.4 contains a business logic vulnerability that allows logged-in customers to place unpaid full-price orders by clearing reward points after selecting Free Checkout. Attackers can apply points, save Free Checkout, then submit zero points via reward.save so the confirm handler advances the order to Free Checkout status without payment.
- CVE-2026-84438Low
A vulnerability was determined in OpenCart 4.1.0.3/4.1.0.4. This affects an unknown function of the file catalog/controller/account/edit.php of the component Autocomplete Workflow. This manipulation of the argument firstname causes cross site scripting. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
- CVE-2026-84437Low
A vulnerability was found in OpenCart 4.1.0.3/4.1.0.4. The impacted element is an unknown function of the file catalog/controller/account/address.php of the component Autocomplete Workflow. The manipulation of the argument address_1 results in cross site scripting. It is possible to launch the attack remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
- CVE-2021-47953Medium
OpenCart 3.0.3.7 contains a cross-site request forgery vulnerability that allows attackers to change user passwords by sending crafted requests to the account/password endpoint. Attackers can trick authenticated users into submitting hidden forms with new password values in the 'password' and 'confirm' parameters to hijack accounts.
Original NVD description (English source)
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 data from NVD (NIST) · CISA KEV · EPSS

