VULNERABILITY INTELLIGENCE
CVE-2021-24171
CVSS score9.8 CRITICAL
EPSS probability1.90%
CISA KEVNot currently listed
Published2021-04-05
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- contact@wpscan.com: CWE-434
- nvd@nist.gov: CWE-434
Primary references
- contact@wpscan.com — Third Party Advisory
- contact@wpscan.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory