CVE-2026-105708 imgproxy SVG svg.go sanitizeElement cross site scripting

Medium 5.3 Published Updated

Remote attackers can execute cross-site scripting attacks via malicious SVG files processed by imgproxy, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-105708?

CVE-2026-105708 is a medium-severity cross-site scripting vulnerability in imgproxy, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A flaw has been found in imgproxy up to 4.0.17. Affected by this vulnerability is the function sanitizeElement of the file processing/svg/svg.go of the component SVG Handler. Executing a manipulation can lead to cross site scripting. It is possible to launch the attack remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-105708?

How do I fix CVE-2026-105708?

No fix has been published for CVE-2026-105708 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-105708 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105708 exists.

Sources

Also known as GHSA-5qgf-cr4x-pc9r.

Is CVE-2026-105708 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free