CVE-2019-8943
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…
- 6.5MediumCVSS base score
- 92.0%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit.
Show the exploits6
Metasploit modules1 module
- WordPress Crop-image Shell Upload (Metasploit module) (opens in a new tab)
exploit/multi/http/wp_crop_rceRank excellentdisclosed 19 Feb 2019
Nuclei templates1 template
- WordPress Core 5.0.0 - Crop-image Shell Upload (Nuclei template) (opens in a new tab)
http/cves/2019/CVE-2019-8943.yamlSeverity medium
Exploit-DB2 entries
- WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 46662remote, phppublished 5 Apr 2019Verified
- WordPress Core 5.0 - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 46511webapps, phppublished 1 Mar 2019Not verified
References tagged exploit2 references
- 46511 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 46662 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 92.0% · top 0.2% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
References
References7
- 46511 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ (opens in a new tab)x_refsource_MISCx_transferred
- 107089 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html (opens in a new tab)x_refsource_MISCx_transferred
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce (opens in a new tab)x_refsource_MISCx_transferred
- 46662 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-18330 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-8943)Record last updated .