CVE-2026-120248
Thelia before 3.1.1 Stored XSS via SVG Store Logo and Banner Uploads
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| TheliaThelia | affected: 0 to < 3.1.1 | See vendor advisory |
| Thelia CoreThelia | affected: 0 to < 3.1.1 | See vendor advisory |
| Thelia Back-office Default Twig TemplateThelia | affected: 0 to < 1.1.1 | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-120248
- https://github.com/thelia/thelia/security/advisories/GHSA-gvcv-hvpp-89gx
- https://github.com/thelia-templates/default-twig/commit/d79780eafc5b17ac75554c836a1853610d89a090
- https://github.com/thelia-templates/default-twig/commit/f690a649cbbcee9543647cb7ed5018df68f66658
- https://github.com/thelia/thelia/commit/2c691e5c3bb8536ca901fcf7d2780301bd111ba9
- https://github.com/thelia/thelia/releases/tag/3.1.1
- https://github.com/thelia-templates/default-twig/blob/6473c164bd86348f4c7d0ef6f194f1ff3d267902/src/Controller/Configuration/ConfigStoreController.php#L173-L195
- https://www.vulncheck.com/advisories/thelia-before-3.1.1-stored-xss-via-svg-store-logo-and-banner-uploads