Cross site scripting in opencart
Date: 2024-06
Affected: composer/opencart/opencart
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-21515
CVE-2024-21516
CVE-2024-21517
CWE: CWE-79
CVSS: 4.2 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N)

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


Mitigations:

Architectural layers (MAESTRO):