Quick answers
- Is CVE-2021-47940 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-47940 being exploited in the wild.
- How severe is CVE-2021-47940?
- Critical severity, with a CVSS score of 9.8, published 10 May 2026.
- Which products and versions are affected?
- WordPress Plugin Download From Files Download From Files <= 1.48.
- Is there a fix for CVE-2021-47940?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2021-47940 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-47940?
- Check whether you run WordPress Plugin Download From Files Download From Files at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An arbitrary file upload vulnerability exists in the 'Download From Files' WordPress plugin due to missing authentication and insufficient validation in its AJAX file upload handler. Attackers can send unauthenticated POST requests to the 'admin-ajax.php' endpoint using the 'download_from_files_617_fileupload' action. By manipulating the 'allowExt' parameter, an attacker can bypass intended file extension restrictions and upload executable PHP files (e.g., .php4 or .phtml) directly to the web root. This allows for remote code execution (RCE) on the underlying server. The plugin has been permanently closed on the WordPress repository due to this issue.
Affected products
- WordPress Plugin Download From Files <= 1.48
Timeline
- 2021-09-10: disclosed: Initial exploit discovery by researcher spacehen
- 2021-09-13: other: Exploit published on Exploit-DB
- 2021-09-15: other: Plugin permanently closed on WordPress.org repository
- 2026-05-10: advisory: CVE published/updated via VulnCheck/NVD