VulnarioBlogOpenCart vulnerabilities
OpenCart Vulnerabilities: The 10 Most Critical OpenCart Security Bugs (CVEs)
OpenCart vulnerabilities are security flaws in OpenCart that attackers can abuse to steal data, take over a server or interrupt a service. OpenCart is an open-source PHP e-commerce platform. The National Vulnerability Database (NVD) lists 39 CVEs for OpenCart, 2 of them rated critical, and 3 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical OpenCart security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers OpenCart security basics and a free way to be told about the next OpenCart CVE as soon as it is published.
Key takeaways
- No OpenCart CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 2 OpenCart CVEs are rated critical (CVSS v3), and 3 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2024-58341, published Mar 25, 2026.
- You can monitor OpenCart for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these OpenCart CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical OpenCart CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2023-40834 | 9.8 Critical | 2023-09-12 | Critical security flaw | No |
| 2 | CVE-2014-3990 | 9.8 Critical | 2018-03-20 | XML external entity (XXE) | No |
| 3 | CVE-2023-47444 | 8.8 High | 2023-11-15 | Code injection | No |
| 4 | CVE-2023-2315 | 8.8 High | 2023-09-27 | Improper input validation | No |
| 5 | CVE-2018-13067 | 8.8 High | 2018-07-02 | Cross-site request forgery (CSRF) | No |
| 6 | CVE-2024-58341 | 8.2 High | 2026-03-25 | SQL injection | No |
| 7 | CVE-2024-21514 | 8.1 High | 2024-06-22 | SQL injection | No |
| 8 | CVE-2018-11494 | 8.0 High | 2018-05-26 | Path traversal | No |
| 9 | CVE-2024-36694 | 7.2 High | 2024-12-18 | Code injection | No |
| 10 | CVE-2024-21518 | 7.2 High | 2024-06-22 | Path traversal | No |
Each OpenCart CVE explained
1. CVE-2023-40834: Critical security flaw
- What NVD says
- OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page against excessive login attempts, allowing unauthenticated attackers to gain access to the application via a brute force attack to the password parameter.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.2.2
- What to do
- Apply the vendor's security update for your release and restart the service.
2. CVE-2014-3990: XML external entity (XXE)
- What NVD says
- The Cart::getProducts method in system/library/cart.php in OpenCart 1.5.6.4 and earlier allows remote attackers to conduct server-side request forgery (SSRF) attacks or possibly conduct XML External Entity (XXE) attacks and execute arbitrary code via a crafted serialized PHP object, related to the quantity parameter in an update request.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.5.6.4
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
3. CVE-2023-47444: Code injection
- What NVD says
- An issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users having common/security write privilege can write arbitrary untrusted data inside config.php and admin/config.php, resulting in remote code execution on the underlying server.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.0.0 through 4.0.2.3
- What to do
- Apply the vendor's security update for your release and restart the service.
4. CVE-2023-2315: Improper input validation
- What NVD says
- Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2 allows an authenticated user with access/modify privilege on the Log component to empty out arbitrary files on the server
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.0.0 through 4.0.2.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
5. CVE-2018-13067: Cross-site request forgery (CSRF)
- What NVD says
- /upload/catalog/controller/account/password.php in OpenCart through 3.0.2.0 has CSRF via the index.php?route=account/password URI to change a user's password.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 3.0.2.0
- What to do
- Apply the vendor's security update for your release and restart the service.
6. CVE-2024-58341: SQL injection
- What NVD says
- OpenCart Core 4.0.2.3 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the 'search' parameter. Attackers can send GET requests to the product search endpoint with malicious 'search' values to extract sensitive database information using boolean-based blind or time-based blind SQL injection techniques.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality; limited impact on integrity.
- Affected versions
- 4.0.2.3
- What to do
- Apply the vendor's security update for your release and restart the service.
7. CVE-2024-21514: SQL injection
- What NVD says
- This affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension for OpenCart, which is included by default in version 3.0.3.9. As an anonymous unauthenticated user, if the Divido payment module is installed (it does not have to be enabled), it is possible to exploit SQL injection to gain unauthorised access to the backend database.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.0.3.9
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
8. CVE-2018-11494: Path traversal
- What NVD says
- The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 3.0.2.0
- What to do
- Apply the vendor's security update for your release and restart the service.
9. CVE-2024-36694: Code injection
- What NVD says
- OpenCart 4.0.2.3 is vulnerable to Server-Side Template Injection (SSTI) via the Theme Editor Function.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.2.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
10. CVE-2024-21518: Path traversal
- What NVD says
- This affects versions of the package opencart/opencart from 4.0.0.0. A Zip Slip issue was identified via the marketplace installer due to improper sanitization of the target path, allowing files within a malicious archive to traverse the filesystem and be extracted to arbitrary locations.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.0.0 and later
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
OpenCart security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Where you run OpenCart matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating OpenCart: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than OpenCart. A flaw anywhere in the chain can be the way in, so also review our guides to PHP vulnerabilities, MySQL vulnerabilities and PrestaShop vulnerabilities.
How to get alerted about new OpenCart vulnerabilities
NVD received 3 new OpenCart CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose OpenCart and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run OpenCart alone. These guides cover the technologies it is most often deployed with.
- PHP vulnerabilities: PHP is the server-side language behind WordPress and most of the web.
- MySQL vulnerabilities: MySQL is the world's most widely used open-source relational database.
- PrestaShop vulnerabilities: PrestaShop is an open-source e-commerce platform written in PHP.
- Magento vulnerabilities: Magento (Adobe Commerce) is an enterprise e-commerce platform.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Rails vulnerabilities: Ruby on Rails is a full-stack web framework written in Ruby.
Frequently asked questions about OpenCart vulnerabilities
What are the most critical OpenCart vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical OpenCart CVEs include CVE-2023-40834 (CVSS 9.8), CVE-2014-3990 (CVSS 9.8), CVE-2023-47444 (CVSS 8.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have OpenCart vulnerabilities been exploited in real attacks?
For the OpenCart product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep OpenCart patched.
How many vulnerabilities does OpenCart have?
As of Nov 3, 2026 the National Vulnerability Database lists 39 CVEs for OpenCart, with 2 rated critical by CVSS v3. 3 were published in the previous twelve months.
How can I get alerted when a new OpenCart CVE is published?
Add OpenCart to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose OpenCart and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is OpenCart secure?
OpenCart is as secure as its patch level. NVD published 3 new OpenCart CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2023-40834?
CVE-2023-40834 is a critical OpenCart vulnerability with a CVSS score of 9.8, published Sep 12, 2023. OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page against excessive login attempts, allowing unauthenticated attackers to gain access to the application via a brute force attack to the password parameter.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.