CVE-2019-8943
WordPress through 5.0.3 allows Path Traversal in wp_crop_image().
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 92.0%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 91.98% probability · 100th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 1 March 2019
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- wordpress/wordpress
- Source
- cve@mitre.org
EPSS 92.0% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploit, Third Party Advisory
- http://www.securityfocus.com/bid/107089Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/46511/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/46662/Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploit, Third Party Advisory
- http://www.securityfocus.com/bid/107089Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/46511/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/46662/Exploit, Mailing List, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.