CVE-2024-21518
published high CVSS 3.1 · 7.2opencart/opencart vulnerability
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | opencart/opencart | 4.0.0.0 and later (affected · semver) | snyk · cna |
| opencart | opencart | 4.0.0.0 and later (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
3- CWE-29 Arbitrary File Write via Archive Extraction (Zip Slip)
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-290 CWE-290 Authentication Bypass by Spoofing
References
2Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 00d49fb455bf8b66f9f92847d09c20bca05812685074289e3efb6bce4f4091fa
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record