CVE-2024-45127: Magento Open Source stored Cross-Site Scripting (XSS) vulnerability
Magento Open Source versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
Published Oct 10, 2024 · Updated Oct 11, 2024
Affected packages
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.4.7-beta1, < 2.4.7-p3
- Fixed in
- 2.4.7-p3
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.4.6-p1, < 2.4.6-p8
- Fixed in
- 2.4.6-p8
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.4.5-p1, < 2.4.5-p10
- Fixed in
- 2.4.5-p10
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- < 2.4.4-p11
- Fixed in
- 2.4.4-p11
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- = 2.4.7
- Fixed in
- No patched version yet
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- = 2.4.6
- Fixed in
- No patched version yet
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- = 2.4.5
- Fixed in
- No patched version yet
- Check
composer show magento/community-edition
magento/community-edition
- Ecosystem
- Composer (PHP)
- Affected
- = 2.4.4
- Fixed in
- No patched version yet
- Check
composer show magento/community-edition
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Magento Open Source versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
References
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-2025-54263
Magento provides incorrect authorization through a security feature bypass
high8.1No fixOct 14, 2025CVE-2025-54264
Magento vulnerable to stored Cross-Site Scripting (XSS)
high8.1No fixOct 14, 2025CVE-2025-54265
Magento allows incorrect authorization
medium5.9No fixOct 14, 2025CVE-2025-54266
Magento vulnerable to stored Cross-Site Scripting (XSS)
medium4.8No fixOct 14, 2025CVE-2025-54267
Magento vulnerable to privilege escalation due to incorrect authorization
medium6.5No fixOct 14, 2025CVE-2025-54236
Magento Community Edition Improper Input Validation vulnerability
critical9.1ExploitedNo fixSep 9, 2025
