ADVISORIES

GitHub Advisory Database

GHSA-5pxh-89cx-4668

Magento LTS vulnerable to stored XSS in theme config fields

Details

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.

!image

Affected packages

EcosystemPackageAffected versions
Packagistopenmage/magento-lts
All versions before 20.12.3 (fixed in 20.12.3)

References