CVE-2026-13340 SVG Support < 2.5.17 - Author+ Stored XSS via .svgz Sanitization Bypass

Medium 6.1 Published Updated

An attacker with upload permissions can bypass SVG sanitization using .svgz files to execute scripts in victim browsers, potentially leading to account takeover.

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-13340?

CVE-2026-13340 is a medium-severity cross-site scripting vulnerability in Unknown SVG Support, published on 3 Aug 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

The SVG Support WordPress plugin before 2.5.17 does not apply its SVG sanitisation to uploaded files using the .svgz extension, even though it registers and serves them as SVG, allowing a user permitted to upload SVGs (such as an Author once granted upload access) to store a script-bearing file that executes in the browser of anyone who later views it, including an administrator.

Weakness: CWE-79

Which versions are affected by CVE-2026-13340?

How do I fix CVE-2026-13340?

No fix has been published for CVE-2026-13340 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-13340 being exploited?

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

Sources

Also known as GHSA-2v5f-qf73-676h.

Is CVE-2026-13340 in your software?

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

Check your SBOMs for free