2.1low
Cross site scripting in opencart
- Severity
- 2.1low CVSS:4.0 by snyk
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-qc3q-8rr8-8p5vBIT-OPENCART-2024-21517
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| opencart/opencart | from 4.0.0.0 before * | CVE List |
| opencart opencart | before 4.0.0.0, from 4.0.0.0 | CVE List, NVD |
| opencart/opencart (Packagist) | from 4.0.0.0 | GitHub Advisory Database |
| opencart (Bitnami) | from 4.0.0-0 | Bitnami Vulnerability Database |
All scores
| snyk | 2.1low CVSS:4.0 | 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 |
| snyk | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| GitHub | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
Esto afecta a las versiones del paquete opencart/opencart desde 4.0.0.0. Se identificó un problema de XSS reflejado en el parámetro de redireccionamiento de la cuenta del cliente/ruta de inicio de sesión. Un atacante puede inyectar HTML y Javascript arbitrarios en la respuesta de la página. Como esta vulnerabilidad está presente en la funcionalidad de la cuenta, podría usarse para apuntar y atacar a los clientes de la tienda OpenCart. **Notas:** 1) La solución para esta vulnerabilidad está incompleta
Bitnami Vulnerability Database
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:
- The fix for this vulnerability is incomplete
References
| https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266577 | exploit, patch, third-party-advisory, web | |
| https://github.com/opencart/opencart/commit/0fd1ee4b6c94366bf3e5d3831a8336f3275d1860 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21517 | advisory, web | |
| https://github.com/opencart/opencart | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21517 changed 2025-01-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qc3q-8rr8-8p5v changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21517 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-OPENCART-2024-21517 changed 2025-04-14 | Apache-2.0 |