CVE-2026-18412
CriticalCVSS 9.1Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
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.
Risk Assessment
Allows remote code execution on the server, potentially leading to full compromise of the application and data.
Recommendation
Update OpenCart to a patched version or manually validate paths during extension installation.
Other vulnerabilities in OpenCart
See all- 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.
- CVE-2021-47946Medium
OpenCart 3.0.3.6 has a cross-site request forgery vulnerability in the /account/edit endpoint, allowing unauthenticated attackers to modify victim account details by tricking users into visiting malicious pages. Attackers can change email addresses and use password reset to take over accounts.
Original NVD description (English source)
OpenCart extensions are uploaded as zip files with .ocmod.zip extensions. Upon installation, the OpenCart v4.2.0.0 extension installer extracts these zip files, but does not validate that the extracted paths stay inside the intended extraction directory. An attacker can craft a malicious extension containing file path traversal sequences, such as ../. With this vulnerability, an attacker can write files, such as a PHP web shell, into the webroot directory.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

