vulnerability
WordPress Plugin: woocommerce-upload-files: CVE-2021-24171: Unrestricted Upload of File with Dangerous Type
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:L/Au:N/C:P/I:P/A:P) | Mar 4, 2021 | May 15, 2025 | May 4, 2026 |
Severity
7
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Mar 4, 2021
Added
May 15, 2025
Modified
May 4, 2026
Description
The WooCommerce Upload Files WordPress plugin before 59.4 ran a single sanitization pass to remove blocked extensions such as .php. It was possible to bypass this and upload a file with a PHP extension by embedding a "blocked" extension within another "blocked" extension in the "wcuf_file_name" parameter. It was also possible to perform a double extension attack and upload files to a different location via path traversal using the "wcuf_current_upload_session_id" parameter.
Solution
woocommerce-upload-files-plugin-cve-2021-24171
References
- https://www.cve.org/CVERecord?id=CVE-2021-24171
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e353a269-c7f5-4b6a-9f9e-be459ead0335?source=api-prod
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11085
- CVE-2021-24171
- https://attackerkb.com/topics/CVE-2021-24171
- CWE-434
- EUVD-EUVD-2021-11085
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.