CVE-2025-27400: Magento vulnerable to stored XSS in theme config fields

Published Feb 28, 2025
·
Updated

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

Other sources

Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Versions prior to 20.12.3 and 20.13.0 contain a vulnerability that allows script execution in the admin panel which could lead to cross-site scripting against authenticated admin users. The attack requires an admin user with configuration access, so in practicality it is not very likely to be useful given that a user with this level of access is probably already a full admin. Versions 20.12.3 and 20.13.0 contain a patch for the issue.

MITRE

Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Versions prior to 20.12.3 and 20.13.1 contain a vulnerability that allows script execution in the admin panel which could lead to cross-site scripting against authenticated admin users. The attack requires an admin user with configuration access, so in practicality it is not very likely to be useful given that a user with this level of access is probably already a full admin. Versions 20.12.3 and 20.13.1 contain a patch for the issue.

NVD

Affected Software

2 affected componentsFixes available
Magento Magento Long Term Support<20.12.3, <20.13.1
composer/openmage/magento-lts<20.12.3
20.12.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/openmage/magento-lts to a version that resolves this vulnerability.

    Fixed in 20.12.3
  2. Upgrade

    Upgrade Magento (community edition / LTS) to a version that resolves this vulnerability.

    Fixed in 20.12.3
  3. Upgrade

    Upgrade Magento (community edition / LTS) to a version that resolves this vulnerability.

    Fixed in 20.13.0
  4. Upgrade

    Upgrade Magento (community edition / LTS) to a version that resolves this vulnerability.

    Fixed in 20.13.1

Event History

Feb 28, 2025
CVE Published
via MITRE·03:26 PM
Data Sourced
via MITRE·03:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Mar 3, 2025
Advisory Published
via GitHub·07:47 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27400?

CVE-2025-27400 is classified as a high severity vulnerability due to its potential to allow unauthorized script execution.

2

How do I fix CVE-2025-27400?

To fix CVE-2025-27400, upgrade Magento Long Term Support to version 20.12.3 or 20.13.1.

3

Which versions are affected by CVE-2025-27400?

CVE-2025-27400 affects Magento Long Term Support versions before 20.12.3 and 20.13.1.

4

What type of vulnerability is CVE-2025-27400?

CVE-2025-27400 is a script execution vulnerability that may compromise the security of the affected system.

5

Is CVE-2025-27400 publicly disclosed?

Yes, CVE-2025-27400 has been publicly disclosed and is documented in various security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203