{"cve":"CVE-2019-8942","nvd":{"published":"2019-02-20T03:29:00.250","modified":"2026-06-17T02:42:49.427","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-434"],"references":["http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html","http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce","http://www.securityfocus.com/bid/107088","https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/","https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html"],"products":["debian:debian_linux","wordpress:wordpress"],"source":"nvd","synced_at":"2026-10-19T20:54:46.948512734+00:00"},"epss":{"cve":"CVE-2019-8942","score":0.82736,"percentile":0.99669,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}