Vulnerability · Published Feb 3, 2026 · Assigned by GitHub_M
CVE-2026-25484Craft Commerce has Stored XSS in Product Type Name
Medium 4.8
In plain English
A medium-severity cross-site scripting in commerce from craftcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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, there is a Stored XSS via Product Type names. The name is not sanitized when displayed in user permissions settings. The vulnerable input (source) is in Commerce (Product Type settings), but the sink is in CMS user permissions settings. This issue has been patched in versions 4.10.1 and 5.5.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | craftcms/commerce | 5.5.2 | GHSA-2h2m-v2mg-656c |
| Packagist | craftcms/commerce | 4.10.1 | GHSA-2h2m-v2mg-656c |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/craftcms/commerce/security/advisories/GHSA-2h2m-v2mg-656c x_refsource_CONFIRM
- https://github.com/craftcms/commerce/commit/7e1dedf06038c8e70dce0187b7048d4ab8ffb75c x_refsource_MISC
- https://github.com/craftcms/commerce/releases/tag/4.10.1 x_refsource_MISC
- https://github.com/craftcms/commerce/releases/tag/5.5.2 x_refsource_MISC