Craft Commerce has Stored XSS in Product Type Name
Package
Affected versions
>= 5.0.0, <= 5.5.1
>= 4.0.0-RC1, <= 4.10.0
Patched versions
5.5.2
4.10.1
Description
Published to the GitHub Advisory Database
Feb 2, 2026
Reviewed
Feb 2, 2026
Published by the National Vulnerability Database
Feb 3, 2026
Last updated
Feb 3, 2026
Summary
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. Reporting to Commerce GHSA since the input originates here.
Users are recommended to update to the patched 5.5.2 release to mitigate the issue.
Proof of Concept
Required Permissions (Attacker)
Steps to Reproduce
/admin/commerce/settings/producttypes)./admin/users/{UserID}/permissions).Resources
craftcms/commerce@7e1dedf
References