Cross-site scripting in magento-lts - #VU171845

 

Cross-site scripting in magento-lts - #VU171845

Published: December 2, 2026


Vulnerability identifier: #VU171845
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 execute arbitrary JavaScript in the store’s origin, potentially reading shopper data or acting within the shopper’s session.

The vulnerability exists due to improper JavaScript escaping in the cart shipping estimate template when it embeds the session’s region ID in a JavaScript string. A remote attacker can lure a shopper into opening a crafted link to execute script when the cart loads with at least one item and an applicable coupon in the session.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.5, 20.19.3, 21.0.0 beta6

External References

Related Security Bulletins