CVE-2022-1562 Enable SVG < 1.4.0 - Author+ Stored Cross Site Scripting via SVG

Medium 5.4 Published Updated

Attackers with Author privileges can upload malicious SVG files to execute arbitrary scripts in victim browsers via stored XSS.

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-2022-1562?

CVE-2022-1562 is a medium-severity cross-site scripting vulnerability in Unknown Enable SVG, published on 30 May 2022. 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 Enable SVG WordPress plugin before 1.4.0 does not sanitise 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-2022-1562?

It affects 1 product.

Products include Room 34 Creative Services Enable Svg.

How do I fix CVE-2022-1562?

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

There is no known exploitation of CVE-2022-1562 in the wild and no public exploit code.

Sources

Also known as GHSA-x799-g23g-gg7p.

Is CVE-2022-1562 in your software?

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

Check your SBOMs for free