Improper input validation in opencart/opencart
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | opencart/opencart | 4.0.0.0 and later | — | No fix listed | CNA |
| — | opencart/opencart (Packagist) | 4.0.0.0 and later | — | No fix listed | GHSA-7q3h-j95q-3vjh |
- opencart/opencart Vendor— Affected 4.0.0.0 and later Fixed in — No fix listed CNA
- opencart/opencart (Packagist) Vendor— Affected 4.0.0.0 and later Fixed in — No fix listed GHSA-7q3h-j95q-3vjh
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21519
- 2026-10-03 Alias added: GHSA-7q3h-j95q-3vjh
References
More Opencart vulnerabilities
- TI-2023-21572 OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page… CVSS 3.1CRITICAL 9.8
- TI-2024-38428 OpenCart Core 4.0.2.3 SQL Injection via search Parameter CVSS 4.0HIGH 8.8
- TI-2023-25651 An issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users… CVSS 3.1HIGH 8.8
- TI-2023-02171 Improper input validation in Opencart CVSS 3.1HIGH 8.8
- TI-2024-14270 SQL injection in opencart/opencart CVSS 3.1HIGH 8.1
- TI-2024-24380 OpenCart 4.0.2.3 is vulnerable to Server-Side Template Injection (SSTI) via the Theme Editor Function. CVSS 3.1HIGH 7.2
Sources
- CVE-2024-21519 · CVE Program
- CVE-2024-21519 · NVD
- FIRST EPSS
- GHSA-7q3h-j95q-3vjh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences