Critical severity · published Dec 14, 2018
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
9.8
CVSS
26.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)26.8% · higher than 98% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WO
WordPress · WordPress
before 4.9.9; 5.0 before 5.0.1 · source: NVD
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20148
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20148
Third Party Advisory
http://www.securityfocus.com/bid/106220
Exploit
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are
Product
https://codex.wordpress.org/Version_4.9.9
Mailing List
https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html
Release Notes
https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/
Release Notes
https://wordpress.org/support/wordpress-version/version-5-0-1/
More from WordPress
9.8
CVE-2026-63030
WordPress < 7.0.2 - REST API batch-route confusion and SQL injection issue leading to Remote Code Execution
9.8
CVE-2020-25213
WordPress File Manager Plugin Remote Code Execution Vulnerability
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
8.1
CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
7.5
CVE-2020-11738
WordPress Snap Creek Duplicator Plugin File Download Vulnerability
