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.
References
- https://github.com/thelia-templates/default-twig/blob/6473c164bd86348f4c7d0ef6f194f1ff3d2…
- https://github.com/thelia-templates/default-twig/commit/d79780eafc5b17ac75554c836a1853610…
- https://github.com/thelia-templates/default-twig/commit/f690a649cbbcee9543647cb7ed5018df6…
- https://github.com/thelia/thelia/commit/2c691e5c3bb8536ca901fcf7d2780301bd111ba9
- https://github.com/thelia/thelia/releases/tag/3.1.1
Collected automatically from public sources. Verify affected versions and fixes in the vendor's notice before acting.