CVE-2025-49557 Adobe Commerce | Cross-site Scripting (Stored XSS) (CWE-79)

High 8.7 Published Updated

A low-privileged attacker can inject malicious scripts into Adobe Commerce form fields, leading to session takeover when victims visit the affected page.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-49557?

CVE-2025-49557 is a high-severity cross-site scripting vulnerability in Adobe Commerce, published on 12 Aug 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Adobe Commerce versions 2.4.9-alpha1, 2.4.8-p1, 2.4.7-p6, 2.4.6-p11, 2.4.5-p13, 2.4.4-p14 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be exploited by a low-privileged attacker to inject malicious scripts into vulnerable form fields. A successful attacker can abuse this to achieve session takeover, increasing the confidentiality and integrity impact as high. Exploitation of this issue requires user interaction in that a victim must browse to the page containing the vulnerable field. Scope is changed.

Weakness: CWE-79

Which versions are affected by CVE-2025-49557?

12 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 3 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versions2.4.4-p15
magento/community-edition PackagistAll versions2.4.4-p15
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p14
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p14
6 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p12
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p12
magento/community-edition PackagistFrom 2.4.7-p12.4.7-p7
magento/community-edition PackagistFrom 2.4.7-p12.4.7-p7
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce, Adobe Commerce B2b, Adobe Magento.

How do I fix CVE-2025-49557?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p15, 2.4.5-p14, 2.4.6-p12 or 2.4.7-p7.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-49557 being exploited?

There is no known exploitation of CVE-2025-49557 in the wild and no public exploit code.

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-8mq8-c243-2335.

Is CVE-2025-49557 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free