CVE-2026-25485 Craft Commerce has Stored XSS in Shipping Categories (Name & Description) Fields Leading to Potential Privilege Escalation
MediumCVSS 6.2
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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, a stored XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the Shipping Categories (Name & Description) fields in the Store Management section are not properly sanitized before being displayed in the admin panel. This issue has been patched in versions 4.10.1 and 5.5.2.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms craft commerce | = 4.0.0; = 4.0.0-rc1; >= 4.0.1, < 4.10.1; >= 5.0.0, < 5.5.2 | 4.10.1, 5.5.2 | Fixed |
| craftcms/composer(Packagist) | >= 4.0.0-RC1, < 4.10.1; >= 4.0.0-RC1, <= 4.10.0; >= 5.0.0-RC1, < 5.5.2; >= 5.0.0-RC1, <= 5.5.1 | 4.10.1, 5.5.2 | Fixed |
| craftcms/commerce | = >= 4.0.0-RC1, < 4.10.1; = >= 5.0.0, < 5.5.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms/composer(Packagist) | >= 5.0.0-RC1, < 5.5.2 | 5.5.2 |
| craftcms/composer(Packagist) | >= 4.0.0-RC1, < 4.10.1 | 4.10.1 |
| craftcms/commerce | = >= 4.0.0-RC1, < 4.10.1 | No fix listed |
| craftcms/commerce | = >= 5.0.0, < 5.5.2 | No fix listed |
| craftcms/composer(Packagist) | >= 5.0.0-RC1, <= 5.5.1 | No fix listed |
| craftcms/composer(Packagist) | >= 4.0.0-RC1, <= 4.10.0 | No fix listed |
| craftcms craft commerce | >= 4.0.1, < 4.10.1 | 4.10.1 |
| craftcms craft commerce | >= 5.0.0, < 5.5.2 | 5.5.2 |
| craftcms craft commerce | = 4.0.0 | No fix listed |
| craftcms craft commerce | = 4.0.0-rc1 | No fix listed |
References
- https://github.com/craftcms/commerce/security/advisories/GHSA-w8gw-qm8p-j9j3 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee patch
- github.com product
- https://github.com/craftcms/commerce/releases/tag/4.10.1 release-notes
- https://github.com/craftcms/commerce/releases/tag/5.5.2 release-notes
- github.com