CVE-2018-20148: In WordPress before 4.9.9 and 5.x before 5.0.1, contributors could conduct PHP object injection attacks via cr
CVE-2018-20148 is a critical-severity flaw (CVSS 9.8) affecting wordpress, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 26.8% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2018-12-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: nth347/CVE-2018-20148_exploit (4 stars)
- Write-up: wpvulndb.com/vulnerabilities/9171
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-20148?
wordpress: upgrade to 4.9.9, 5.0.1; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-20148 being exploited?
CVE-2018-20148 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-20148 affect?
CVE-2018-20148 affects wordpress, debian linux. Severity is critical (CVSS 9.8). 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 serialized data at phar:// URLs in the wp_get_at
How urgent is CVE-2018-20148?
Priority 74/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
WordPress vulnerabilities · PHP vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2026-119977 HIGH 8.1 EXPLOITED UPGRADE WordPress WordPress Core Time-of-check Time-of-use (TOCTOU) Race Condition Vulnerability
- CVE-2011-4899 HIGH 7.5 UPGRADE wp-admin/setup-config.php in the installation component in WordPress 3.3.1 and earlier does not ensure that th
- CVE-2026-63030 CRITICAL 9.8 EXPLOITED UPGRADE WordPress Core Interpretation Conflict Vulnerability
- CVE-2026-60137 MEDIUM 5.9 EXPLOITED UPGRADE WordPress Core SQL Injection Vulnerability
- CVE-2023-39999 MEDIUM 4.3 UPGRADE MITIGATE Exposure of Sensitive Information to an Unauthorized Actor in WordPress from 6.3 through 6.3.1, from 6.2 throu