All vulnerabilities

WordPress core

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 serialized data at phar:// URLs in the wp_get_attachment_thumb_file function in wp-includes/post.php.

Severity
Critical 9.8
Published
14 Dec 2018
Last changed
17 Jun 2026
Added to UpHeron
17 Oct 2026
Fixed in
4.9.9, 5.0.1
Sources
NVD

Affected software

SoftwareAffected versions
WordPressWordPress core · cpe:a:wordpress:wordpress
  • Every version before 4.9.9
  • From 5.0 before 5.0.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-20148
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-20148