CVE-2026-25486 Craft Commerce has Stored XSS in Shipping Methods Name Field Leading to Potential Privilege Escalation

Medium 6.1 Published Updated

Stored XSS in Craft Commerce allows attackers to execute JavaScript in admin browsers, potentially leading to privilege escalation.

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

What is CVE-2026-25486?

CVE-2026-25486 is a medium-severity cross-site scripting vulnerability in craftcms commerce, published on 3 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Craft Commerce is an ecommerce platform for Craft CMS. From version 5.0.0 to 5.5.1, a stored XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the Shipping Methods Name field in the Store Management section is not properly sanitized before being displayed in the admin panel. This issue has been patched in version 5.5.2.

Weakness: CWE-79

Which versions are affected by CVE-2026-25486?

2 open source packages ship an affected version, including craftcms/commerce. It affects 1 product.

PackageAffectedFixed in
craftcms/commerce PackagistFrom 5.0.0-RC15.5.2
craftcms/commerce PackagistFrom 5.0.0-RC15.5.2

Products include Craftcms Craft Commerce.

How do I fix CVE-2026-25486?

Upgrade craftcms/commerce to 5.5.2 or later.

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-2026-25486 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25486 exists.

Sources

Also known as GHSA-g92v-wpv7-6w22.

Is CVE-2026-25486 in your software?

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

Check your SBOMs for free