XSS in Craftcms Commerce
CVE-2026-25483
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 exists in Craft Commerce’s Order Status History Message. The message is rendered using the |md filter, which permits raw HTML, enabling malicious script execution. If a user has database backup utility permissions (which do not require an elevated session), an attacker can exfiltrate the entire database, including all user credentials, customer PII, order history, and 2FA recovery codes. 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 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 28.1th 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-8478-rmjg-mjj5 (Exploit, Patch, Vendor Advisory)
- https://github.com/craftcms/commerce/commit/4665a47c0961aee311a42af2ff94a7c470f0ad8c (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)