Cross-site scripting in magento-lts - #VU158670
Published: November 2, 2026
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.