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.
Published: 2026-10-31
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: Cross‑site scripting with potential privilege escalation
Action: Patch Now
AI Analysis

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.

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

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 yet.

History

Sat, 31 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Thelia
Thelia thelia
Vendors & Products Thelia
Thelia thelia

Sat, 31 Oct 2026 17:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-31T17:25:53.467Z

Reserved: 2026-10-31T11:44:48.191Z

Link: CVE-2026-120205

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-31T18:17:08.570

Modified: 2026-10-31T18:17:08.570

Link: CVE-2026-120205

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-31T18:45:14Z

Weaknesses
  • CWE-79

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