CVE-2025-24412: Magento Stored Cross-Site Scripting (XSS) Vulnerability
8.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.1521%
CWE
Published
2/11/2025
Updated
2/28/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | >= 2.4.7-beta1, < 2.4.7-p4 | 2.4.7-p4 |
magento/community-edition | composer | >= 2.4.6-p1, < 2.4.6-p9 | 2.4.6-p9 |
magento/community-edition | composer | >= 2.4.5-p1, < 2.4.5-p11 | 2.4.5-p11 |
magento/community-edition | composer | < 2.4.4-p12 | 2.4.4-p12 |
magento/community-edition | composer | = 2.4.7 | |
magento/community-edition | composer | = 2.4.6 | |
magento/community-edition | composer | = 2.4.5 | |
magento/community-edition | composer | = 2.4.4 | |
magento/community-edition | composer | = 2.4.8-beta1 | |
magento/project-community-edition | composer | <= 2.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output encoding in form field rendering mechanisms. While exact patch details are unavailable, Magento's XSS vulnerabilities typically occur in:
- Block rendering logic (AbstractBlock::toHtml) where dynamic content is injected into templates without escaping
- UI component form elements (AbstractElement::getHtml) that handle user-inputted values These components are central to form rendering across admin/frontend interfaces, aligning with the 'low-privileged attacker' scenario. Confidence is medium due to the pattern matching with historical Magento XSS issues, though unconfirmed without commit diffs.