CVE-2019-8942
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.
Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.82736 (82.7% probability)
- Percentile
- 99.7%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
References
- wpvulndb.com/vulnerabilities/9222
- 46511 (exploit-db.com)exploit
- 107088 (securityfocus.com)vdb-entry
- blog.ripstech.com/2019/wordpress-image-remote-code-execution
- DSA-4401 (debian.org)vendor-advisory
- [debian-lts-announce] 20190331 [SECURITY] [DLA 1742-1] wordpress security update (lists.debian.org)mailing-list
- packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-i…
- rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
- 46662 (exploit-db.com)exploit
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:49 UTC. Sources and licenses