← Vulnerability feed

Vulnerability record · CVE-2024-21519 · published 22 June 2024

CVE-2024-21519: Opencart improper input validation vulnerability

Opencart · Opencart

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.

7.2 CVSS 3.1 High EPSS 0.72% · top 47.6% CWE-20 · Improper input validation
7.2CVSS 3.1 base score
0.72%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-21519 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-40834Opencart improper restriction of authentication attempts vulnerabilityOpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page against excessive login attempts, allowing unauthenticated atta…EPSS 1.3%9.8CVE-2014-3990Opencart xml external entity (xxe) vulnerabilityThe Cart::getProducts method in system/library/cart.php in OpenCart 1.5.6.4 and earlier allows remote attackers to conduct server-side request forger…EPSS 6.6%8.8CVE-2024-58341Opencart sql injection vulnerabilityOpenCart Core 4.0.2.3 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL co…EPSS 0.34%8.8CVE-2023-47444Opencart code injection vulnerabilityAn 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 untr…EPSS 1.8%8.8CVE-2023-2315Opencart improper input validation vulnerabilityPath 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 ar…EPSS 1.0%8.8CVE-2018-13067Opencart cross-site request forgery vulnerability/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 …EPSS 0.72%8.1CVE-2024-21514Opencart sql injection vulnerabilityThis affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension for OpenCart…EPSS 19%8.0CVE-2018-11494Opencart path traversal vulnerabilityThe "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows att…EPSS 2.3%

Source: NIST National Vulnerability Database (record CVE-2024-21519), CISA KEV, FIRST EPSS (scores of 2026-10-08). This page is refreshed as NVD updates the record.