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

CVE-2025-54266 · Severity: medium · CVSS 4.8 · Published 2025-10-14

Adobe Commerce 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.

Technologies: magento/community-edition (Packagist), magento/project-community-edition (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2025-54266 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-54266 being exploited in the wild.
How severe is CVE-2025-54266?
Medium severity, with a CVSS score of 4.8, published 14 October 2025.
Which products and versions are affected?
magento/community-edition (Packagist) ECOSYSTEM:introduced=2.4.9-alpha1,fixed=2.4.9-alpha3; magento/project-community-edition (Packagist) ECOSYSTEM:introduced=0,last_affected=2.0.2.
Is there a fix for CVE-2025-54266?
Yes. magento/community-edition (Packagist): upgrade to 2.4.9-alpha3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-54266?
Check whether you run magento/community-edition (Packagist) or magento/project-community-edition (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • magento/community-edition (Packagist): upgrade to 2.4.9-alpha3 or later
    composer require magento/community-edition:^2.4.9-alpha3

Affected products

  • magento/community-edition (Packagist) ECOSYSTEM:introduced=2.4.9-alpha1,fixed=2.4.9-alpha3
  • magento/project-community-edition (Packagist) ECOSYSTEM:introduced=0,last_affected=2.0.2

Identifiers

  • CVE-2025-54266
  • GHSA-pcrx-r49h-x2w5

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.