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.
CVE-2019-8942
Score elevated to 9.0 because EPSS predicts 83% probability of exploitation within the next 30 days (top 0.4% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.
- 130 internet-exposed hosts are running an affected version right now
- High exploitation likelihood — EPSS 83%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
130 internet-exposed hosts are running an affected version of CVE-2019-8942 right now.
EchelonGraph is the only CVE feed that fuses live vulnerability intelligence with its own live internet-exposure radar — so you see not just that a CVE is exploited, but how much of the internet is exposed to it right now.
- CVSS v3
- 8.8
- EG Score
- 9.0(high)
- EG Risk
- 78(Track)EG Risk 78/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation83% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 99.6%
- KEV
- Not listed
Published
February 20, 2019
Last Modified
November 21, 2024
References (18)
- cve@mitrehttp://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
- cve@mitrehttp://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
- cve@mitrehttp://www.securityfocus.com/bid/107088
- cve@mitrehttps://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
- cve@mitrehttps://wpvulndb.com/vulnerabilities/9222
- cve@mitrehttps://www.debian.org/security/2019/dsa-4401
- cve@mitrehttps://www.exploit-db.com/exploits/46511/
- cve@mitrehttps://www.exploit-db.com/exploits/46662/
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
- af854a3a-2127-422b-91ae-364da2661108http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/107088
- af854a3a-2127-422b-91ae-364da2661108https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
- af854a3a-2127-422b-91ae-364da2661108https://wpvulndb.com/vulnerabilities/9222
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:47 UTCEG score recompute▲ 0.20
- 2026-07-22 22:30 UTCEG score recompute▼ 0.20
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-20 22:02 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-03 17:26 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
Show 20 moreShow fewer
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-15 06:13 UTCOSV refresh
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 22:24 UTCEG score recompute
- 2026-05-27 22:24 UTCGHSA enrichment
- 2026-05-26 23:13 UTCOSV refresh
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
Publicly available exploits
(5 references)Working exploit code is in the public domain (1 Metasploit module) (2 GitHub PoCs) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCsynacktiv/CVE-2019-8942First seen May 2, 2019
WordPress crop-image exploitation
Open source ↗ - Exploit-DBEDB-46662✓ verifiedFirst seen Apr 5, 2019
WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit)
Open source ↗ - Exploit-DBEDB-46511First seen Mar 1, 2019
WordPress Core 5.0 - Remote Code Execution
Open source ↗ - GitHub PoCbrianwrf/WordPress_4.9.8_RCE_POCFirst seen Feb 25, 2019
A simple PoC for WordPress RCE (author priviledge), refer to CVE-2019-8942 and CVE-2019-8943.
Open source ↗ - Metasploitexploit/multi/http/wp_crop_rce✓ verifiedFirst seen Feb 19, 2019
WordPress Crop-image Shell Upload
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-434
Frequently asked(5)
What is CVE-2019-8942?
When was CVE-2019-8942 disclosed?
Is CVE-2019-8942 actively exploited?
What is the CVSS score of CVE-2019-8942?
How do I remediate CVE-2019-8942?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2019-8942
Is Your Infrastructure Affected by CVE-2019-8942?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.