Vulnerability database / CVE-2019-8943
CVE-2019-8943
MEDIUM 6.5 CVSS 3.1 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.
Published 20 Feb 2019
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-22 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.0
AV:N/AC:L/Au:S/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
wordpress
wordpresscpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
<= 5.0.3
References
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html · Exploit, Third Party Advisory, VDB Entry http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce · Exploit, Third Party Advisory http://www.securityfocus.com/bid/107089 · Third 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
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 20 Feb 2019)