Cross-site scripting in magento-lts - #VU173488

 

Cross-site scripting in magento-lts - #VU173488

Published: December 4, 2026


Vulnerability identifier: #VU173488
CSH Severity: Medium
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to run arbitrary JavaScript in the store's origin, potentially exposing shopper data or allowing unauthorized actions in the shopper's session.

The vulnerability exists due to improper output escaping in the cart page templates when a request-supplied referrer URL is rendered in the Continue Shopping button's inline click handler. A remote attacker can lure a shopper with a nonempty cart into opening a crafted link and clicking Continue Shopping to execute JavaScript in the shopper's browser.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.6, 20.19.4, 21.0.0 beta7

External References

Related Security Bulletins