OpenCart Path Traversal
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'].
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | opencart/opencart | <= 3.0.2.0 | no fix |
References
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- Composer
- Package
opencart/opencart- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wx3q-f5f2-4q8v - CC BY 4.0
Vulnerability history: opencart/opencart
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 17
- First → latest
- 05.2021 07.2024
- Without a fix
- 16
- Exploited in attacks
- 0
Severity breakdown
- High 6
- Medium 10
- Low 1
Disclosures per year
- 2021: 1
- 2022: 8
- 2023: 1
- 2024: 7
- 2025: 0
- 2026: 0
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.