{"id":"CVE-2019-8942","aliases":[],"url":"https://o3.security/vulnerability/CVE-2019-8942","summary":null,"details":"WordPress before 4.9.9 and 5.x before 5.0.1 allows remote code execution because an _wp_attached_file Post Meta entry can be changed to an arbitrary string, such as one ending with a .jpg?file.php substring. An attacker with author privileges can execute arbitrary code by uploading a crafted image containing PHP code in the Exif metadata. Exploitation can leverage CVE-2019-8943.","published":"2019-02-20T03:29:00.250Z","modified":"2026-07-08T05:56:29.620364759Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":14,"affectedPackages":[],"fix":null,"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/107088"},{"type":"ADVISORY","url":"https://wpvulndb.com/vulnerabilities/9222"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4401"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html"},{"type":"EVIDENCE","url":"http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce"},{"type":"EVIDENCE","url":"https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/"},{"type":"EVIDENCE","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/46511/"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/46662/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:56:29.620364759Z"}}