CVE-2024-5852: The WordPress File Upload plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and
CVE-2024-5852 is a medium-severity flaw (CVSS 4.3) affecting wordpress file upload. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The WordPress File Upload plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 4.24.7 via the 'uploadpath' parameter of the wordpress_file_upload shortcode. This makes it possible for authenticated attackers, with Contributor-level access and above, to upload limited files to arbitrary locations on the web server.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 47%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2024-07-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-5852?
wordpress file upload: upgrade to 4.24.8. Exact commands for each OS are on this page.
Is CVE-2024-5852 being exploited?
CVE-2024-5852 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-5852 affect?
CVE-2024-5852 affects wordpress file upload. Severity is medium (CVSS 4.3). The WordPress File Upload plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 4.24.7 via the 'uploadpath' parameter of the wordpress_file_upload shortcode. This makes it possible for authenticated
How urgent is CVE-2024-5852?
Priority 28/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2024-9939 HIGH 7.5 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and incl
- CVE-2024-9047 CRITICAL 9.8 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and incl
- CVE-2024-7301 HIGH 7.2 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploa
- CVE-2024-6651 MEDIUM 6.1 UPGRADE The WordPress File Upload WordPress plugin before 4.24.8 does not sanitise and escape a parameter before outpu
- CVE-2024-6494 MEDIUM 6.1 UPGRADE The WordPress File Upload WordPress plugin before 4.24.8 does not properly sanitize and escape certain paramet