CVE-2026-25482 Craft Commerce has Stored DOM XSS in Order Status Name (Reflects in "Recent Orders" Dashboard Widget)

Medium 6.2 Published Updated

Stored DOM XSS in Craft Commerce allows script execution when admins view the Recent Orders dashboard, potentially leading to account takeover.

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-25482?

CVE-2026-25482 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. In versions from 4.0.0-RC1 to 4.10.0 and from 5.0.0 to 5.5.1, a stored DOM XSS vulnerability exists in the "Recent Orders" dashboard widget. The Order Status Name is rendered via JavaScript string concatenation without proper escaping, allowing script execution when any admin visits the dashboard. This issue has been patched in versions 4.10.1 and 5.5.2.

Weakness: CWE-79

Which versions are affected by CVE-2026-25482?

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

PackageAffectedFixed in
craftcms/commerce PackagistFrom 4.0.0-RC14.10.1
craftcms/commerce PackagistFrom 4.0.0-RC14.10.1
craftcms/commerce PackagistFrom 5.0.05.5.2
craftcms/commerce PackagistFrom 5.0.05.5.2

Products include Craftcms Craft Commerce.

How do I fix CVE-2026-25482?

Upgrade craftcms/commerce to a fixed version for your release line: 4.10.1 or 5.5.2.

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-25482 being exploited?

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

Sources

Also known as GHSA-frj9-9rwc-pw9j.

Is CVE-2026-25482 in your software?

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

Check your SBOMs for free