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 Zone (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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| craftcms | commerce | >= 4.0.0-RC1, < 4.10.1, >= 5.0.0, < 5.5.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | craftcms/commerce | >= 5.0.0-RC1, < 5.5.2 | 5.5.2 | GHSA-h9r9-2pxg-cx9m |
| Packagist | craftcms/commerce | >= 4.0.0-RC1, < 4.10.1 | 4.10.1 | GHSA-h9r9-2pxg-cx9m |