# CVE-2021-24962: WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.80%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-28T17:21:01.000Z
- Modified: 2026-06-17T03:41:12.280Z
- Weaknesses: CWE-22
- Assigned by: WPScan

## Description

The WordPress File Upload Free and Pro WordPress plugins before 4.16.3 allow users with a role as low as Contributor to perform path traversal via a shortcode argument, which can then be used to upload a PHP code disguised as an image inside the auto-loaded directory of the plugin, resulting in arbitrary code execution.

(As written by CVE List.)

## Affected

- Unknown WordPress File Upload: from 4.16.3 before 4.16.3
- Unknown WordPress File Upload Pro: from 4.16.3 before 4.16.3
- iptanus wordpress_file_upload: before 4.16.3
- iptanus wordpress_file_upload_pro: before 4.16.3

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2677722> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24962](https://www.cve.org/CVERecord?id=CVE-2021-24962), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24962](https://nvd.nist.gov/vuln/detail/CVE-2021-24962), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24962 · Whole record: https://cve.day/CVE-2021-24962.json · Rebuilt by cve.day 2026-11-25T22:58:07.271Z
