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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- 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 patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.6 · theliaNVD modified 2026-11-01 00:57
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 7
- https://github.com/thelia/thelia/security/advisories/GHSA-gvcv-hvpp-89gx vendor-advisory
- 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 patch
- https://github.com/thelia/thelia/releases/tag/3.1.1 release-notes
- https://github.com/thelia-templates/default-twig/blob/6473c164bd86348f4c7d0ef6f194f1ff3d267902/src/Controller/Configuration/ConfigStoreController.php#L173-L195 technical-description
- https://www.vulncheck.com/advisories/thelia-before-3.1.1-stored-xss-via-svg-store-logo-and-banner-uploads third-party-advisory