CVE-2024-21517Opencart
Low 1.2 No auth needed
Follow: this CVE · Opencart · Opencart We alert you by email or Slack (account required).
- Priority
- 22
- CVSS 4.0
- 1.2
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- No
- Published
- Jun 22, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
What to do
- Apply the vendor's security update for Opencart.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | opencart/opencart |
≥ 4.0.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-qc3q-8rr8-8p5v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| opencart | opencart | ≥ 4.0.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- security.snyk.io Exploit Patch Third Party Advisory