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

Most critical OpenCart vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-408349.8 Critical2023-09-12Critical security flawNo
2CVE-2014-39909.8 Critical2018-03-20XML external entity (XXE)No
3CVE-2023-474448.8 High2023-11-15Code injectionNo
4CVE-2023-23158.8 High2023-09-27Improper input validationNo
5CVE-2018-130678.8 High2018-07-02Cross-site request forgery (CSRF)No
6CVE-2024-583418.2 High2026-03-25SQL injectionNo
7CVE-2024-215148.1 High2024-06-22SQL injectionNo
8CVE-2018-114948.0 High2018-05-26Path traversalNo
9CVE-2024-366947.2 High2024-12-18Code injectionNo
10CVE-2024-215187.2 High2024-06-22Path traversalNo

Each OpenCart CVE explained

1. CVE-2023-40834: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2023-09-12
  • CWE-307
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.

NVD record for CVE-2023-40834 (opens in a new tab)

2. CVE-2014-3990: XML external entity (XXE)

  • CVSS 9.8 Critical
  • Published 2018-03-20
  • CWE-611
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).

NVD record for CVE-2014-3990 (opens in a new tab)

3. CVE-2023-47444: Code injection

  • CVSS 8.8 High
  • Published 2023-11-15
  • CWE-94
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.

NVD record for CVE-2023-47444 (opens in a new tab)

4. CVE-2023-2315: Improper input validation

  • CVSS 8.8 High
  • Published 2023-09-27
  • CWE-20
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).

NVD record for CVE-2023-2315 (opens in a new tab)

5. CVE-2018-13067: Cross-site request forgery (CSRF)

  • CVSS 8.8 High
  • Published 2018-07-02
  • CWE-352
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.

NVD record for CVE-2018-13067 (opens in a new tab)

6. CVE-2024-58341: SQL injection

  • CVSS 8.2 High
  • Published 2026-03-25
  • CWE-89
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.

NVD record for CVE-2024-58341 (opens in a new tab)

7. CVE-2024-21514: SQL injection

  • CVSS 8.1 High
  • Published 2024-06-22
  • CWE-89
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).

NVD record for CVE-2024-21514 (opens in a new tab)

8. CVE-2018-11494: Path traversal

  • CVSS 8.0 High
  • Published 2018-05-26
  • CWE-22
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.

NVD record for CVE-2018-11494 (opens in a new tab)

9. CVE-2024-36694: Code injection

  • CVSS 7.2 High
  • Published 2024-12-18
  • CWE-94
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).

NVD record for CVE-2024-36694 (opens in a new tab)

10. CVE-2024-21518: Path traversal

  • CVSS 7.2 High
  • Published 2024-06-22
  • CWE-29
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).

NVD record for CVE-2024-21518 (opens in a new tab)

OpenCart security checklist

  1. Update the core, themes, plugins and extensions as soon as security releases appear.
  2. Remove plugins, themes and modules you do not use.
  3. Give users the minimum role they need and enable two-factor authentication for administrators.
  4. Keep debug and development modes off in production.
  5. Back up files and database before every update.
  6. 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.

Few stacks run OpenCart alone. These guides cover the technologies it is most often deployed with.

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

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.