NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-54266: Magento vulnerable to stored Cross-Site Scripting (XSS)

mediumCVSS 3.1 4.8GHSA-pcrx-r49h-x2w5

Magento versions 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14, 2.4.4-p15 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-privileged 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 14, 2025 · Updated Oct 21, 2025

Affected packages

magento/project-community-edition

Ecosystem
Composer (PHP)
Affected
<= 2.0.2
Fixed in
No patched version yet
Check
composer show magento/project-community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.9-alpha1, < 2.4.9-alpha3
Fixed in
2.4.9-alpha3
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.8-beta1, < 2.4.8-p3
Fixed in
2.4.8-p3
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
>= 2.4.7-beta1, < 2.4.7-p8
Fixed in
2.4.7-p8
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
< 2.4.6-p13
Fixed in
2.4.6-p13
Check
composer show magento/community-edition

magento/community-edition

Ecosystem
Composer (PHP)
Affected
= 2.4.8
Fixed in
No patched version yet
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

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Magento versions 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14, 2.4.4-p15 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-privileged 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. Exploitation of this issue requires user interaction in that a victim must browse to the page containing the vulnerable field. Scope is changed.

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) entries