← Vulnerability feed

Vulnerability record · CVE-2018-20148 · published 14 December 2018

CVE-2018-20148: Wordpress deserialization of untrusted data vulnerability

Wordpress · Wordpress

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.

9.8 CVSS 3.0 Critical EPSS 27% · top 1.5% CWE-502 · Deserialization of untrusted data
9.8CVSS 3.0 base score, v2 7.5
27%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.securityfocus.com/bid/106220 Third Party AdvisoryVDB Entry
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are ExploitThird Party Advisory
https://codex.wordpress.org/Version_4.9.9 ProductVendor Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html Mailing ListThird Party Advisory
https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/ Release NotesVendor Advisory
https://wordpress.org/support/wordpress-version/version-5-0-1/ Release NotesVendor Advisory
https://wpvulndb.com/vulnerabilities/9171 Vendor Advisory
https://www.debian.org/security/2019/dsa-4401 Third Party Advisory
https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/ Press/Media CoverageThird Party Advisory
https://www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-websites-online/ Press/Media CoverageThird Party Advisory
http://www.securityfocus.com/bid/106220 Third Party AdvisoryVDB Entry
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are ExploitThird Party Advisory
https://codex.wordpress.org/Version_4.9.9 ProductVendor Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html Mailing ListThird Party Advisory
https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/ Release NotesVendor Advisory
https://wordpress.org/support/wordpress-version/version-5-0-1/ Release NotesVendor Advisory
https://wpvulndb.com/vulnerabilities/9171 Vendor Advisory
https://www.debian.org/security/2019/dsa-4401 Third Party Advisory
https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/ Press/Media CoverageThird Party Advisory
https://www.zdnet.com/article/wordpress-vulnerability-affects-a-third-of-most-popular-websites-online/ Press/Media CoverageThird Party Advisory

Track CVE-2018-20148 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2006-4028Wordpress vulnerabilityMultiple unspecified vulnerabilities in WordPress before 2.0.4 have unknown impact and remote attack vectors. NOTE: due to lack of details, it is not…EPSS 3.8%10.0CVE-2000-0844Caldera openlinux ebuilder permissions and access controls vulnerabilitySome functions that implement the locale subsystem on Unix do not properly cleanse user-injected format strings, which allows local attackers to exec…EPSS 16%10.0CVE-2000-0666Conectiva linux vulnerabilityrpc.statd in the nfs-utils package in various Linux distributions does not properly cleanse untrusted format strings, which allows remote attackers t…EPSS 26%10.0CVE-2000-0584Debian linux vulnerabilityBuffer overflow in Canna input system allows remote attackers to execute arbitrary commands via an SR_INIT command with a long user name or group nam…EPSS 5.9%10.0CVE-2000-1221Sgi irix vulnerabilityThe line printer daemon (lpd) in the lpr package in multiple Linux operating systems authenticates by comparing the reverse-resolved hostname of the …EPSS 17%10.0CVE-1999-0832Debian linux vulnerabilityBuffer overflow in NFS server on Linux allows attackers to execute commands via a long pathname.EPSS 3.5%10.0CVE-1999-0730Debian linux vulnerabilityThe zsoelim program in the Debian man-db package allows local users to overwrite files via a symlink attack.EPSS 4.5%10.0CVE-1999-0368Proftpd project proftpd vulnerabilityBuffer overflows in wuarchive ftpd (wu-ftpd) and ProFTPD lead to remote root access, a.k.a. palmetto.EPSS 40%

Source: NIST National Vulnerability Database (record CVE-2018-20148), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.