Magento vulnerable to stored XSS in theme config fields
CVE-2025-27400Published 28 Feb 2025, 15:26 UTC
Real-world risk
0.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.9
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| magento-ltsCommon | < 20.12.3 | 20.12.3 |
What to do
Update to a fixed version: 20.12.3.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.025
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.0252 × threat 0.850.064
- Rounded to one decimal between 0.1 and 100.1
Exploitation and evidence timeline
- 28 Feb 2025 Published
- 3 Dec 2026 Risk 0.1 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5pxh-89cx-4668vendor-advisory
- https://github.com/OpenMage/magento-lts/commit/d307e5bf75729a2347dde0952fe9fd9fcd9c6aeamisc
- https://github.com/OpenMage/magento-lts/releases/tag/v20.12.3misc
- https://github.com/OpenMage/magento-lts/releases/tag/v20.13.0misc
- CVE-2025-27400 on CVE.org