What’s Vulnerable › Vulnerabilities

CVE-2018-20148

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.

Affected products

How to fix

Upgrade to a fixed version: WordPress 4.9.9, 5.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-20148 or the next vulnerability affects your stack