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 DOM XSS vulnerability exists in the "Recent Orders" dashboard widget. The Order Status Name is rendered via JavaScript string concatenation without proper escaping, allowing script execution when any admin visits the dashboard. This issue has been patched in versions 4.10.1 and 5.5.2.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
>= 4.0.0-RC1, < 4.10.1
References
github.com/...mmerce/security/advisories/GHSA-frj9-9rwc-pw9j
github.com/...ommit/d94d1c9832a47a1c383e375ae87c46c13935ba65
github.com/craftcms/commerce/releases/tag/4.10.1
github.com/craftcms/commerce/releases/tag/5.5.2