WordPress File Upload <= 4.16.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Malicious SVG

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24960
CVSS 5.4 (Medium)
Publicly Published February 14, 2022
Last Updated December 25, 2022
Researcher apple502j


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



1 affected software package

Software Type Plugin
Software Slug wp-file-upload (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.16.3, or a newer patched version
Affected Version
  • < 4.16.3
Patched Version
  • 4.16.3

All the threat data shared in this database is powered by Wordfence Intelligence Enterprise.
Interested in integrating this data into your platform or network?
Contact us now to discuss API access to our Wordfence Intelligence Enterprise Data Feeds.

Inquire Now

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.