Description
Thelia before 3.1.0 contains a stored cross-site scripting vulnerability in ForSomeCustomers::getSummary() that allows unauthenticated attackers to inject scripts via unescaped customer names. Attackers can register with a script payload as their name that executes when administrators view related coupons, stealing CSRF tokens to create administrator accounts.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Thelia Thelia
Default version status: unaffected
0 to < 3.1.0affected
pkg:composer/thelia/theliaThelia Thelia Core
Default version status: unaffected
0 to < 3.1.0affected
pkg:composer/thelia/coreReferences
- https://github.com/thelia/thelia/security/advisories/GHSA-r63g-6wfg-v5v9 ↗
- https://github.com/thelia/thelia/commit/c90d59375089a0833a56703c6f9f9ddea17bddc9 ↗
- https://github.com/thelia/thelia/releases/tag/3.1.0 ↗
- https://github.com/thelia/thelia/blob/3.0.0/core/lib/Thelia/Condition/Implementation/ForSomeCustomers.php#L119 ↗
- https://www.vulncheck.com/advisories/thelia-before-3.1.0-stored-xss-via-coupon-condition-customer-name ↗