{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-24171","id":"CVE-2021-24171","title":"WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload","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 loc","descriptionLong":"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.","published":"2021-04-05T18:27:44.000Z","updated":"2026-06-17T03:39:30.930Z","reserved":"2021-01-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"WPScan","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["WooCommerce Upload Files"],"affectedProducts":[{"vendor":"Unknown","product":"WooCommerce Upload Files","defaultStatus":null,"versions":[{"lessThan":"59.4","status":"affected","version":"59.4","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-434"],"aliases":[],"references":[{"url":"https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01899,"epssPercentile":0.80175,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-24171","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24171","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-24171","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-24171","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}