# CVE-2026-120248: Thelia before 3.1.1 Stored XSS via SVG Store Logo and Banner Uploads

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.34% (percentile 20, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-11-01T00:57:12.828Z
- **Modified:** 2026-11-02T21:04:42.244Z

## Who should check

- Anyone running Thelia \< 3.1.1
- Anyone running Thelia Core \< 3.1.1
- Anyone running Thelia Back-office Default Twig Template \< 1.1.1

## Description

Thelia before 3.1.1 contains a stored cross-site scripting vulnerability that allows authenticated back-office administrators with store update permission to inject scripts by uploading unsanitized SVG logo\_file or banner\_file images. Attackers can upload an SVG with an onload payload served from /admin/store-media/logo or the public cache/images/store/ directory to execute scripts against visitors and higher-privileged administrators.

## Affected and fixed versions

- Thelia: \< 3.1.1 (cvelist)
- Thelia Core: \< 3.1.1 (cvelist)
- Thelia Back-office Default Twig Template: \< 1.1.1 (cvelist)

## Mitigation

- Upgrade Thelia to 3.1.1 or later.
- Upgrade Thelia Core to 3.1.1 or later.
- Upgrade Thelia Back-office Default Twig Template to 1.1.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120248. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120248.md
Affected: Thelia < 3.1.1; Thelia Core < 3.1.1; Thelia Back-office Default Twig Template < 1.1.1
Fixed in: Thelia 3.1.1, Thelia Core 3.1.1, Thelia Back-office Default Twig Template 1.1.1

Steps:
1. Search this machine and project for Thelia, Thelia Core, Thelia Back-office Default Twig Template: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120248 being exploited?

There is no confirmed exploitation: CVE-2026-120248 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-120248?

Medium: CVSS 4.6 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-120248?

Thelia \< 3.1.1; Thelia Core \< 3.1.1; Thelia Back-office Default Twig Template \< 1.1.1.

### Is there a fix for CVE-2026-120248?

Yes. Fixed in Thelia 3.1.1, Thelia Core 3.1.1, Thelia Back-office Default Twig Template 1.1.1. Upgrade Thelia to 3.1.1 or later. Upgrade Thelia Core to 3.1.1 or later. Upgrade Thelia Back-office Default Twig Template to 1.1.1 or later.

### How do I check if I'm affected by CVE-2026-120248?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/thelia/thelia/security/advisories/GHSA-gvcv-hvpp-89gx>
- patch: <https://github.com/thelia-templates/default-twig/commit/d79780eafc5b17ac75554c836a1853610d89a090>
- patch: <https://github.com/thelia-templates/default-twig/commit/f690a649cbbcee9543647cb7ed5018df68f66658>
- patch: <https://github.com/thelia/thelia/commit/2c691e5c3bb8536ca901fcf7d2780301bd111ba9>
- article: <https://github.com/thelia-templates/default-twig/blob/6473c164bd86348f4c7d0ef6f194f1ff3d267902/src/Controller/Configuration/ConfigStoreController.php#L173-L195>
- other: <https://github.com/thelia/thelia/releases/tag/3.1.1>
- other: <https://www.vulncheck.com/advisories/thelia-before-3.1.1-stored-xss-via-svg-store-logo-and-banner-uploads>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120248>

HTML: <https://flawdb.com/CVE-2026-120248> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120248>
