CVE-2024-7301 WordPress File Upload <= 4.24.8 - Unauthenticated Stored Cross-Site Scripting via SVG File Upload

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary web scripts via SVG file uploads, leading to stored XSS execution when users access the file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7301?

CVE-2024-7301 is a high-severity cross-site scripting vulnerability in nickboss Iptanus File Upload, published on 16 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WordPress File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 4.24.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.

Weakness: CWE-79

Which versions are affected by CVE-2024-7301?

It affects 1 product.

Products include Iptanus Wordpress File Upload.

How do I fix CVE-2024-7301?

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

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

Sources

Also known as GHSA-gw3m-cj7m-xhp2.

Is CVE-2024-7301 in your software?

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

Check your SBOMs for free