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.
/admin/commerce/settings/producttypes).<img src=x onerror="alert('XSS-ProductType')" hidden>
/admin/users/{UserID}/permissions).https://github.com/craftcms/commerce/commit/7e1dedf06038c8e70dce0187b7048d4ab8ffb75c
| Score | Percentile |
|---|---|
| 0.02% | 3.59% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 4.8 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-2h2m-v2mg-656c ↗ |
| CVE | CVE-2026-25484 ↗ |
| CWE id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| composer | craftcms/commerce | >= 5.0.0, <= 5.5.1 | 5.5.2 | — |
| composer | craftcms/commerce | >= 4.0.0-RC1, <= 4.10.0 | 4.10.1 | — |