CVE-2021-24960 WordPress File Upload < 4.16.3 - Contributor+ Stored Cross-Site Scripting via Malicious SVG

Medium 5.4 Published Updated

Contributors can upload malicious SVG files to execute arbitrary scripts in victim browsers via stored XSS in the WordPress File Upload plugin.

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-2021-24960?

CVE-2021-24960 is a medium-severity cross-site scripting vulnerability in Unknown WordPress File Upload, published on 7 Mar 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 WordPress File Upload WordPress plugin before 4.16.3, wordpress-file-upload-pro WordPress plugin before 4.16.3 allows users with a role as low as Contributor to configure the upload form in a way that allows uploading of SVG files, which could be then be used for Cross-Site Scripting attacks

Weakness: CWE-434

Which versions are affected by CVE-2021-24960?

It affects 2 products.

Products include Iptanus Wordpress File Upload, Iptanus Wordpress File Upload Pro.

How do I fix CVE-2021-24960?

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

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

Sources

Also known as GHSA-g533-q4qm-q7jp.

Is CVE-2021-24960 in your software?

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

Check your SBOMs for free