CVE-2026-25484: Craft Commerce has Stored XSS in Product Type Name

Published Feb 2, 2026
·
Updated

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)

- Admin access (to edit Commerce settings)

Steps to Reproduce

1. Log in as attacker with admin permissions. 2. Go to Commerce -> Settings -> Product Types (/admin/commerce/settings/producttypes). 3. Create a new Product Type. 4. Set Name to: html <img src=x onerror="alert('XSS-ProductType')" hidden> 5. Save the Product Type. 6. Go to Users -> Edit any user -> Click on Permissions tab (/admin/users/{UserID}/permissions). 7. Alert fires instantly (when the Product Type checkbox renders).

Resources

https://github.com/craftcms/commerce/commit/7e1dedf06038c8e70dce0187b7048d4ab8ffb75c

Other sources

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.

MITRE

Affected Software

6 affected componentsFixes available
composer/craftcms/commerce>=4.0.0-RC1<=4.10.0
4.10.1
composer/craftcms/commerce>=5.0.0<=5.5.1
5.5.2
CraftCMS Craft Commerce Craft Cms>=4.0.1<4.10.1
CraftCMS Craft Commerce Craft Cms>=5.0.0<5.5.2
CraftCMS Craft Commerce Craft Cms=4.0.0
CraftCMS Craft Commerce Craft Cms=4.0.0-rc1

Event History

Feb 2, 2026
Advisory Published
via GitHub·10:44 PM
Data Sourced
via GitHub·10:44 PM
DescriptionWeaknessAffected Software
Feb 3, 2026
CVE Published
via MITRE·06:06 PM
Data Sourced
via MITRE·06:06 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
RemedyAffected Software
Feb 26, 58104
Event
via FIRST·10:36 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25484?

CVE-2026-25484 has been classified as a medium severity vulnerability due to the potential for stored XSS attacks.

2

How do I fix CVE-2026-25484?

To fix CVE-2026-25484, upgrade the Craft Commerce package to version 4.10.1 or 5.5.2.

3

What systems are affected by CVE-2026-25484?

CVE-2026-25484 affects Craft Commerce versions from 4.0.0-RC1 to 4.10.0 and from 5.0.0 to 5.5.1.

4

What is the nature of the vulnerability described in CVE-2026-25484?

CVE-2026-25484 is a stored Cross-Site Scripting vulnerability that occurs through the Product Type Name.

5

Who is responsible for addressing CVE-2026-25484?

The maintainers of the Craft Commerce software are responsible for providing updates and patches for CVE-2026-25484.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203