CVE-2025-27400: Magento LTS vulnerable to stored XSS in theme config fields
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.
Published Mar 3, 2025
Affected packages
openmage/magento-lts
- Ecosystem
- Composer (PHP)
- Affected
- < 20.12.3
- Fixed in
- 20.12.3
- Check
composer show openmage/magento-lts
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to justlife4x4.
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-42458
Magento LTS: Reflected XSS - Import -> Data Flow (profiles)
medium5.3May 6, 2026CVE-2026-42155
Magento LTS has Weak API Session ID — Predictable MD5 of Time-Derived Inputs
critical9.3May 5, 2026CVE-2026-42207
Magento LTS Vulnerable to Open Redirect via Unvalidated `uenc` Parameter in `stockAction()`
medium6.1May 5, 2026CVE-2026-25524
OpenMage LTS: Phar Deserialization leads to Remote Code Execution
high8.1Apr 21, 2026CVE-2026-25525
OpenMage LTS has a Path Traversal Filter Bypass in Dataflow Module
medium4.9Apr 21, 2026CVE-2026-40098
OpenMage LTS: Cross-user wishlist import leads to private option & file disclosure
medium5.4Apr 21, 2026
