CVE-2019-8943 — wordpress
MEDIUMCVE-2019-8943 is a medium-severity (CVSS 6.5) Path Traversal vulnerability. 13 public exploit references exist, so weaponization risk is real. No vendor fix is recorded yet; mitigation options are listed below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2019-8943 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has privileges to crop an image) can write the output image to an arbitrary directory via a filename containing two image extensions and ../ sequences, such as a filename ending with the .jpg?/../../file.jpg substring.
Affected Products
wordpresswordpressResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
WordPress Core 5.0 - Remote Code Execution
by allyshka · Mar 1, 2019
WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit)
by Metasploit · Apr 5, 2019
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2019-8943 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
How to detect CVE-2019-8943
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2019-8943 -u https://target- Template
- WordPress Core 5.0.0 - Crop-image Shell Upload
- Severity
- medium
- Impact
- Authenticated attackers with image cropping privileges can write output images to arbitrary directories via path traversal, potentially overwriting critical system files or placing web shells in accessible locations.
- Remediation
- Upgrade to WordPress version 5.0.4 or later.
Template by ProjectDiscovery nuclei-templates (sttlr), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2019-8943 in your dependencies?
Find it across , including transitive dependencies.