CVE-2023-7085 Scalable Vector Graphics (SVG) <= 3.4 - Author+ Stored XSS via SVG

Medium 5.4 Published Updated

Authors can upload malicious SVG files to execute arbitrary scripts in the context of other users' browsers.

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

What is CVE-2023-7085?

CVE-2023-7085 is a medium-severity cross-site scripting vulnerability in Unknown Scalable Vector Graphics (SVG), published on 18 Mar 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Scalable Vector Graphics (SVG) WordPress plugin through 3.4 does not sanitize uploaded SVG files, which could allow users with a role as low as Author to upload a malicious SVG containing XSS payloads.

Weakness: CWE-79

Which versions are affected by CVE-2023-7085?

It affects 1 product.

Products include Sterlinghamilton Scalable Vector Graphics \(Svg\).

How do I fix CVE-2023-7085?

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

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

Sources

Also known as GHSA-xv7q-36g9-3jc5.

Is CVE-2023-7085 in your software?

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

Check your SBOMs for free