{"id":"CVE-2019-8943","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-8943","generatedAt":"2026-11-05T03:18:41.665Z","title":"WordPress through 5.0.3 allows Path Traversal in wp_crop_image().","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.","published":"2019-02-20T03:29:00.000Z","lastModified":"2026-06-17T02:42:50.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-22"],"affected":["wordpress/wordpress"],"epss":{"score":0.91985,"percentile":0.9982,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2019-03-01","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":46662,"kind":"exploit","title":"WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit)","url":"https://www.exploit-db.com/exploits/46662","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/46662.rb","file":"exploits/php/remote/46662.rb","published":"2019-04-05","added":"2019-04-05","updated":"2019-04-05","author":"Metasploit","type":"remote","platform":"php","port":80,"verified":true,"codes":["CVE-2019-8943","CVE-2019-8942"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/wp_crop_rce.rb"},{"edbId":46511,"kind":"exploit","title":"WordPress Core 5.0 - Remote Code Execution","url":"https://www.exploit-db.com/exploits/46511","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/46511.js","file":"exploits/php/webapps/46511.js","published":"2019-03-01","added":"2019-03-07","updated":"2019-03-07","author":"allyshka","type":"webapps","platform":"php","port":null,"verified":false,"codes":["CVE-2019-8943","CVE-2019-8942"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://gist.github.com/allyshka/f159c0b43f1374f87f2c3817d6401fd6"}]},"verdict":{"level":"urgent","text":"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."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/107089","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/46511/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/46662/","tags":["Exploit","Mailing List","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/107089","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/46511/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/46662/","tags":["Exploit","Mailing List","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-8943","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}