cvedb.io
CVE-2019-8942
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2019-02-20T03:29:00.250 · Last modified 2026-06-17T02:42:49.427

Summary

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.

Affected products

wordpress — wordpress

Does this affect you?

Add your gear to cvedb and we'll alert you only when wordpress ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.