CVE-2021-47940 WordPress Download From Files 1.48 Arbitrary File Upload
Unauthenticated attackers can upload malicious PHP files to the web root by bypassing file type restrictions in the Download From Files plugin.
- 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-2021-47940?
CVE-2021-47940 is a critical vulnerability in download-from-files Download From Files, published on 10 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WordPress Plugin Download From Files version 1.48 and earlier contains an arbitrary file upload vulnerability that allows unauthenticated attackers to upload malicious files by exploiting the AJAX fileupload action. Attackers can send POST requests to the admin-ajax.php endpoint with the download_from_files_617_fileupload action, manipulating the allowExt parameter to bypass file type restrictions and upload executable files like PHP shells to the web root.
Weakness: CWE-306
Which versions are affected by CVE-2021-47940?
How do I fix CVE-2021-47940?
No fix has been published for CVE-2021-47940 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-47940 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47940 exists.
Sources
Also known as GHSA-8h4p-vqhv-pvp3.