CVE-2018-20148: In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serializ

critical Affects WordPress core. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via crafted metadata in a wp.getMediaItem XMLRPC call. This is caused by mishandling of serializ

Package
WordPress core WordPress
Affected versions
<4.9.9 or >=5.0 and <5.0.1
Fixed in
4.9.9, 5.0.1
Severity
critical  CVSS 9.8
Exploitation
not on CISA KEV · EPSS 27% (98.0th percentile)
Published
2018-12-14
Source
nvd

References

CWE-502
NVD recordWordPress core advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories