XSS in Craftcms Commerce
CVE-2026-25484
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 22.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Commerce — versions >= 4.0.0-RC1, < 4.10.1, >= 5.0.0, < 5.5.2
- Craftcms Craft Commerce — versions 4.0.0
Weakness classification (CWE)
References
- https://github.com/craftcms/commerce/security/advisories/GHSA-2h2m-v2mg-656c (Exploit, Vendor Advisory)
- https://github.com/craftcms/commerce/commit/7e1dedf06038c8e70dce0187b7048d4ab8ffb75c (Patch)
- https://github.com/craftcms/commerce/releases/tag/4.10.1 (Release Notes)
- https://github.com/craftcms/commerce/releases/tag/5.5.2 (Release Notes)