Cross-site scripting in magento-lts - #VU158670

 

Cross-site scripting in magento-lts - #VU158670

Published: November 2, 2026


Vulnerability identifier: #VU158670
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/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 privileged user to execute arbitrary JavaScript in a shopper's browser in the storefront origin.

The vulnerability exists due to missing HTML output escaping in cataloginventory/qtyincrements.phtml when rendering the product name in the Qty Increments notice. A remote privileged user can save a product name containing malicious markup and induce a shopper to view a page displaying the notice to execute arbitrary JavaScript in the shopper's browser.

The notice appears for products with Enable Qty Increments set.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.2, 20.19.0, 21.0.0 beta3

External References

Related Security Bulletins