Medium severity · published Feb 20, 2019
CVE-2019-8943
WordPress through 5.0.3 allows Path Traversal in wp_crop_image()
6.5
CVSS
92%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)92.0% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WO
WordPress · WordPress
through 5.0.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-8943
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-8943
Exploit
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
Exploit
http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html
Exploit
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
Third Party Advisory
http://www.securityfocus.com/bid/107089
Exploit
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
Exploit
https://www.exploit-db.com/exploits/46511/
More from WordPress
9.8
CVE-2026-63030
WordPress < 7.0.2 - REST API batch-route confusion and SQL injection issue leading to Remote Code Execution
9.8
CVE-2020-25213
WordPress File Manager Plugin Remote Code Execution Vulnerability
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
8.1
CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
7.5
CVE-2020-11738
WordPress Snap Creek Duplicator Plugin File Download Vulnerability
