medium4.6
CVE-2026-120248
Thelia before 3.1.1 contains a stored cross-site scripting vulnerability that allows authenticated back-office administrators with store update permission to i…
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Thelia | Thelia | before 3.1.1 |
| Thelia | Thelia Back-Office Default Twig Template | before 1.1.1 |
| Thelia | Thelia Core | before 3.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-xxr4-v6q3-9x28
- https://github.com/thelia/thelia/security/advisories/GHSA-gvcv-hvpp-89gx
- https://nvd.nist.gov/vuln/detail/CVE-2026-120248
- 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-templates/default-twig/blob/6473c164bd86348f4c7d0ef6f194f1ff3d267902/src/Controller/Configuration/ConfigStoreController.php#L173-L195
- https://github.com/thelia/thelia/releases/tag/3.1.1
- https://www.vulncheck.com/advisories/thelia-before-3.1.1-stored-xss-via-svg-store-logo-and-banner-uploads