CVE-2019-8942

critical
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
9.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2019-8942

OS impact

OSVersionStatusFixed in
arch archfixed5.0.1-1
debian debianbookwormfixed5.0.1+dfsg1-1
debian debianbullseyefixed5.0.1+dfsg1-1
debian debianforkyfixed5.0.1+dfsg1-1
debian debiansidfixed5.0.1+dfsg1-1
debian debiantrixiefixed5.0.1+dfsg1-1

References

Verify integrity in audit chain (admin only). AS-IS.