{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-8943","id":"CVE-2019-8943","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.","descriptionLong":"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:00:00.000Z","updated":"2026-10-24T10:30:55.914657801Z","reserved":"2019-02-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://www.exploit-db.com/exploits/46511/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"http://www.securityfocus.com/bid/107089","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.exploit-db.com/exploits/46662/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Mailing List","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.91985,"epssPercentile":0.99824,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-8943","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8943","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-8943","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-8943","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["wordpress-core"],"critical":[],"attention":null}