CVE-2026-120248Thelia before 3.1.1 Stored XSS via SVG Store Logo and Banner Uploads
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Thelia: affected: before 3.1.1; fixed in
3.1.1 - Thelia Core: affected: before 3.1.1; fixed in
3.1.1 - Thelia Back-office Default Twig Template: affected: before 1.1.1; fixed in
1.1.1
Vendor advisories:
- https://github.com/thelia/thelia/security/advisories/GHSA-gvcv-hvpp-89gx (vendor-advisory)
- https://github.com/thelia-templates/default-twig/commit/d79780eafc5b17ac75554c836a1853610… (patch)
- https://github.com/thelia-templates/default-twig/commit/f690a649cbbcee9543647cb7ed5018df6… (patch)
- https://github.com/thelia/thelia/commit/2c691e5c3bb8536ca901fcf7d2780301bd111ba9 (patch)
- https://github.com/thelia/thelia/releases/tag/3.1.1 (release-notes)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.