Security mailing lists by PureSourceCode

CVE-2019-8942

HIGH 8.8CVSS 3.0

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.

Published
20 Feb 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-434
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
< 4.9.9 4.9.9
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:-:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:beta1:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:beta2:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:beta3:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:beta4:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:beta5:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:rc1:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:rc2:*:*:*:*:*:*
= 5.0
NVD wordpress wordpress
cpe:2.3:a:wordpress:wordpress:5.0:rc3:*:*:*:*:*:*
= 5.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 20 Feb 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.