opencart CVE Vulnerabilities & Metrics

Focus on opencart vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About opencart Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with opencart. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total opencart CVEs: 24
Earliest CVE date: 20 Mar 2009, 00:30 UTC
Latest CVE date: 22 Jun 2024, 05:15 UTC

Latest CVE reference: CVE-2024-21519

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 6

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 50.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 50.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical opencart CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 3.22

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 17
4.0-6.9 9
7.0-8.9 3
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS opencart CVEs

These are the five CVEs with the highest CVSS scores for opencart, sorted by severity first and recency.

All CVEs for opencart

CVE-2024-21519 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

This affects versions of the package opencart/opencart from 4.0.0.0. An Arbitrary File Creation issue was identified via the database restoration functionality. By injecting PHP code into the database, an attacker with admin privileges can create a backup file with an arbitrary filename (including the extension), within /system/storage/backup. **Note:** It is less likely for the created file to be available within the web root, as part of the security recommendations for the application suggest moving the storage path outside of the web root.

CVE-2024-21518 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

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. An attacker can create arbitrary files in the web root of the application and overwrite other existing files by exploiting this vulnerability.

CVE-2024-21517 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

This affects versions of the package opencart/opencart from 4.0.0.0. A reflected XSS issue was identified in the redirect parameter of customer account/login route. An attacker can inject arbitrary HTML and Javascript into the page response. As this vulnerability is present in the account functionality it could be used to target and attack customers of the OpenCart shop. **Notes:** 1) The fix for this vulnerability is incomplete

CVE-2024-21516 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

This affects versions of the package opencart/opencart from 4.0.0.0 and before 4.1.0.0. A reflected XSS issue was identified in the directory parameter of admin common/filemanager.list route. An attacker could obtain a user's token by tricking the user to click on a maliciously crafted URL. The user is then prompted to login and redirected again upon authentication with the payload automatically executing. If the attacked user has admin privileges, this vulnerability could be used as the start of a chain of exploits like Zip Slip or arbitrary file write vulnerabilities in the admin functionality. **Notes:** 1) This is only exploitable if the attacker knows the name or path of the admin directory. The name of the directory is "admin" by default but there is a pop-up in the dashboard warning users to rename it. 2) The fix for this vulnerability is incomplete. The redirect is removed so that it is not possible for an attacker to control the redirect post admin login anymore, but it is still possible to exploit this issue in admin if the user is authenticated as an admin already.

CVE-2024-21515 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

This affects versions of the package opencart/opencart from 4.0.0.0. A reflected XSS issue was identified in the filename parameter of the admin tool/log route. An attacker could obtain a user's token by tricking the user to click on a maliciously crafted URL. The user is then prompted to login and redirected again upon authentication with the payload automatically executing. If the attacked user has admin privileges, this vulnerability could be used as the start of a chain of exploits like Zip Slip or arbitrary file write vulnerabilities in the admin functionality. **Notes:** 1) This is only exploitable if the attacker knows the name or path of the admin directory. The name of the directory is "admin" by default but there is a pop-up in the dashboard warning users to rename it. 2) The fix for this vulnerability is incomplete. The redirect is removed so that it is not possible for an attacker to control the redirect post admin login anymore, but it is still possible to exploit this issue in admin if the user is authenticated as an admin already.

CVE-2024-21514 opencart vulnerability CVSS: 0 22 Jun 2024, 05:15 UTC

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. For any site which is vulnerable, any unauthenticated user could exploit this to dump the entire OpenCart database, including customer PII data.

CVE-2023-47444 opencart vulnerability CVSS: 0 15 Nov 2023, 22:15 UTC

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.

CVE-2023-2315 opencart vulnerability CVSS: 0 27 Sep 2023, 15:18 UTC

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

CVE-2023-40834 opencart vulnerability CVSS: 0 12 Sep 2023, 14:15 UTC

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.

CVE-2020-20491 opencart vulnerability CVSS: 0 20 Jun 2023, 15:15 UTC

SQL injection vulnerability in OpenCart v.2.2.00 thru 3.0.3.2 allows a remote attacker to execute arbitrary code via the Fba plugin function in upload/admin/index.php.

CVE-2021-37823 opencart vulnerability CVSS: 0 03 Nov 2022, 17:15 UTC

OpenCart 3.0.3.7 allows users to obtain database information or read server files through SQL injection in the background.

CVE-2013-1891 opencart vulnerability CVSS: 5.5 24 Jun 2022, 15:15 UTC

In OpenCart 1.4.7 to 1.5.5.1, implemented anti-traversal code in filemanager.php is ineffective and can be bypassed.

CVE-2020-29471 opencart vulnerability CVSS: 3.5 29 Dec 2020, 17:15 UTC

OpenCart 3.0.3.6 is affected by cross-site scripting (XSS) in the Profile Image. An admin can upload a profile image as a malicious code using JavaScript. Whenever anyone will see the profile picture, the code will execute and XSS will trigger.

CVE-2020-29470 opencart vulnerability CVSS: 3.5 29 Dec 2020, 17:15 UTC

OpenCart 3.0.3.6 is affected by cross-site scripting (XSS) in the Subject field of mail. This vulnerability can allow an attacker to inject the XSS payload in the Subject field of the mail and each time any user will open that mail of the website, the XSS triggers and the attacker can able to steal the cookie according to the crafted payload.

CVE-2020-28838 opencart vulnerability CVSS: 3.5 11 Dec 2020, 15:15 UTC

Cross Site Request Forgery (CSRF) in CART option in OpenCart Ltd. Opencart CMS 3.0.3.6 allows attacker to add cart items via Add to cart.

CVE-2020-13980 opencart vulnerability CVSS: 3.5 09 Jun 2020, 14:15 UTC

OpenCart 3.0.3.3 allows remote authenticated users to conduct XSS attacks via a crafted filename in the users' image upload section because of a lack of entity encoding. NOTE: this issue exists because of an incomplete fix for CVE-2020-10596. The vendor states "this is not a massive issue as you are still required to be logged into the admin.

CVE-2020-10596 opencart vulnerability CVSS: 3.5 17 Mar 2020, 15:15 UTC

OpenCart 3.0.3.2 allows remote authenticated users to conduct XSS attacks via a crafted filename in the users' image upload section.

CVE-2019-15081 opencart vulnerability CVSS: 3.5 15 Aug 2019, 15:15 UTC

OpenCart 3.x, when the attacker has login access to the admin panel, allows stored XSS within the Source/HTML editing feature of the Categories, Product, and Information pages.

CVE-2018-13067 opencart vulnerability CVSS: 6.8 02 Jul 2018, 17:29 UTC

/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.

CVE-2018-11495 opencart vulnerability CVSS: 4.0 26 May 2018, 20:29 UTC

OpenCart through 3.0.2.0 allows directory traversal in the editDownload function in admin\model\catalog\download.php via admin/index.php?route=catalog/download/edit, related to the download_id. For example, an attacker can download ../../config.php.

CVE-2018-11494 opencart vulnerability CVSS: 6.0 26 May 2018, 20:29 UTC

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'].

CVE-2014-3990 opencart vulnerability CVSS: 7.5 20 Mar 2018, 21:29 UTC

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.

CVE-2016-10509 opencart vulnerability CVSS: 6.5 31 Aug 2017, 20:29 UTC

SQL injection vulnerability in the updateAmazonOrderTracking function in upload/admin/model/openbay/amazon.php in OpenCart before version 2.3.0.0 allows remote authenticated administrators to execute arbitrary SQL commands via a carrier (aka courier_id) parameter to openbay.php.

CVE-2015-4671 opencart vulnerability CVSS: 4.3 12 Jan 2016, 19:59 UTC

Cross-site scripting (XSS) vulnerability in OpenCart before 2.1.0.2 allows remote attackers to inject arbitrary web script or HTML via the zone_id parameter to index.php.

CVE-2011-3763 opencart vulnerability CVSS: 5.0 24 Sep 2011, 00:55 UTC

OpenCart 1.4.9.3 allows remote attackers to obtain sensitive information via a direct request to a .php file, which reveals the installation path in an error message, as demonstrated by system/startup.php and certain other files.

CVE-2010-1610 opencart vulnerability CVSS: 6.8 29 Apr 2010, 19:30 UTC

Cross-site request forgery (CSRF) vulnerability in index.php in OpenCart 1.4 allows remote attackers to hijack the authentication of an application administrator for requests that create an administrative account via a POST request with the route parameter set to "user/user/insert." NOTE: some of these details are obtained from third party information.

CVE-2010-0956 opencart vulnerability CVSS: 7.5 10 Mar 2010, 20:14 UTC

SQL injection vulnerability in index.php in OpenCart 1.3.2 allows remote attackers to execute arbitrary SQL commands via the page parameter.

CVE-2009-1621 opencart vulnerability CVSS: 5.0 12 May 2009, 16:30 UTC

Directory traversal vulnerability in index.php in OpenCart 1.1.8 allows remote attackers to read arbitrary files via a .. (dot dot) in the route parameter.

CVE-2009-1027 opencart vulnerability CVSS: 7.5 20 Mar 2009, 00:30 UTC

SQL injection vulnerability in OpenCart 1.1.8 allows remote attackers to execute arbitrary SQL commands via the order parameter.