Magento LTS vulnerable to stored XSS in theme config fields
Description
Published by the National Vulnerability Database
Feb 28, 2025
Published to the GitHub Advisory Database
Mar 3, 2025
Reviewed
Mar 3, 2025
Last updated
Mar 3, 2025
As reported by Aakash Adhikari, Github: @justlife4x4, the Design > Themes > Skin (Images / CSS) config field allows a Stored XSS when it contains an end script tag.
Impact
A malicious user with access to this configuration field could use a Stored XSS to affect other authenticated admin users in the admin panel.
The attack requires an admin user with configuration access, so in practice, it is not very likely to be used for gaining elevated privileges, although it could theoretically be used to impersonate other users.
References