openmage/magento-lts · Security
Magento LTS vulnerable to stored XSS in theme config fields
- GHSA ID
- GHSA-5pxh-89cx-4668
- CVE ID
- CVE-2025-27400
- Severity
- low
- Published
- Updated
- CVSS
- 2.9 · CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
- CVSS v3
- 2.9 · CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5pxh-89cx-4668 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-27400 ↗
- https://github.com/OpenMage/magento-lts/commit/d307e5bf75729a2347dde0952fe9fd9fcd9c6aea ↗
- https://github.com/OpenMage/magento-lts/releases/tag/v20.12.3 ↗
- https://github.com/OpenMage/magento-lts/releases/tag/v20.13.0 ↗
- https://github.com/advisories/GHSA-5pxh-89cx-4668 ↗