Thelia before 3.1.0 Stored XSS via Coupon Condition Customer Name
Thelia and Thelia Core before 3.1.0 are affected when a coupon uses the 'For one or more customers' condition and the back-office coupon screen displays that customer's name. The fix is in 3.1.0.
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Fix
- Fixed in 3.1.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Thelia, an open-source e-commerce platform, is affected by a stored cross-site scripting flaw in its coupon management features. An attacker can register with a malicious script as their name, which runs in an administrator's browser when they view related coupons, potentially allowing the attacker to gain administrator-level control of the store.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- Thelia Thelia
fixed in 3.1.0
- Thelia Thelia Core
fixed in 3.1.0
References 5
Questions about CVE-2026-120205
What does this mean?
A customer's name referenced by a 'For one or more customers' coupon condition is shown unescaped on the back-office coupon screen. The summary is rendered as raw HTML, so stored script runs in an administrator's back-office session. That can let an unprivileged registered customer create a persistent super-admin account.Source: github.com
Am I affected, and how do I check?
Thelia and Thelia Core versions before 3.1.0 are in scope. To check a site, compare the installed Thelia version with 3.1.0, and look at whether any coupon uses the 'For one or more customers' condition.Source: github.com
What should I do about it?
Upgrade Thelia and Thelia Core to 3.1.0 or later, which is the version the affected ranges end at.Source: github.com
Is it being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data