Live threats

All CVEs / Wordpress

CVE-2019-8942Wordpress

High 8.8 High EPSS

Priority
61
CVSS 3.0
8.8
EPSS
81.7%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
Published
Feb 20, 2019
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-434
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Wordpress.

Affected products (CPE)

VendorProductVersions
wordpresswordpress< 4.9.9
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.