CVE-2023-4460 Uploading SVG, WEBP and ICO files <= 1.2.1 - Author+ Stored XSS via SVG

Medium 6.1 Published Updated

Authors can upload malicious SVG files to execute stored XSS payloads in the WordPress admin interface.

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-2023-4460?

CVE-2023-4460 is a medium-severity cross-site scripting vulnerability in Unknown Uploading SVG, WEBP and ICO files, published on 4 Dec 2023. 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 Uploading SVG, WEBP and ICO files WordPress plugin through 1.2.1 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-2023-4460?

It affects 1 product.

Products include Uploading Svg\, Webp and Ico Files Project Uploading Svg\, Webp and Ico Files.

How do I fix CVE-2023-4460?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5w5f-8x6p-gxf4.

Is CVE-2023-4460 in your software?

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

Check your SBOMs for free