CVE-2026-120205

Thelia before 3.1.0 Stored XSS via Coupon Condition Customer Name

Published Oct 31, 2026 CVSS 4.0 · 7.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Thelia before 3.1.0 contains a stored cross‑site scripting flaw in the ForSomeCustomers::getSummary() method that allows an unauthenticated attacker to embed arbitrary script code in a customer name. When an administrator later views coupons that use this coupon condition, the stored script executes in the administrator’s browser, enabling the attacker to steal CSRF tokens and create privileged administrator accounts.

Affected Systems

All installations of Thelia and Thelia Core running versions earlier than 3.1.0 are impacted. This includes the 3.0.x series and any earlier releases that still rely on the original ForSomeCustomers implementation.

Risk and Exploitability

The vulnerability scores a CVSS of 7.4, indicating a high severity level. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. Inferred attack vectors suggest that an attacker can register with a malicious customer name without authentication, and the payload will later execute when an administrator views a related coupon. The lack of authentication for the injection step and the automatic execution in an administrative context elevate the risk, especially for sites with publicly accessible registration forms.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Thelia to version 3.1.0 or later, which includes the patch for the stored XSS in ForSomeCustomers::getSummary().
  • If an upgrade is not immediately possible, disable or remove the coupon condition feature that relies on ForSomeCustomers in order to prevent execution of unescaped customer names.
  • Implement input validation or sanitization on the customer name field to strip or encode script tags before storage, reducing the risk of XSS injection.

Generated by OpenCVE AI on October 31, 2026 at 18:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thelia
Thelia thelia
Vendors & Products Thelia
Thelia thelia
Type Values Removed Values Added
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.
Title Thelia before 3.1.0 Stored XSS via Coupon Condition Customer Name
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 9:03 PM
Reserved
Oct 31, 2026, 11:44 AM
Status
Deferred
Published
Oct 31, 2026, 6:17 PM
Modified
Nov 2, 2026, 7:35 PM