{"id":"UBUNTU-CVE-2018-20148","details":"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.","modified":"2025-10-24T04:47:17Z","published":"2018-12-14T20:29:00Z","upstream":["CVE-2018-20148"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20148"},{"type":"REPORT","url":"https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20148"}],"affected":[{"package":{"name":"wordpress","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/wordpress@4.4.2+dfsg-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3+dfsg-1","4.3.1+dfsg-1","4.4+dfsg-1","4.4.1+dfsg-1","4.4.2+dfsg-1","4.4.2+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"wordpress","binary_version":"4.4.2+dfsg-1ubuntu1"},{"binary_name":"wordpress-l10n","binary_version":"4.4.2+dfsg-1ubuntu1"},{"binary_name":"wordpress-theme-twentyfifteen","binary_version":"4.4.2+dfsg-1ubuntu1"},{"binary_name":"wordpress-theme-twentyfourteen","binary_version":"4.4.2+dfsg-1ubuntu1"},{"binary_name":"wordpress-theme-twentysixteen","binary_version":"4.4.2+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20148.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/wordpress@4.9.5+dfsg1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.2+dfsg-2","4.8.3+dfsg-1","4.9.1+dfsg-1","4.9.2+dfsg-1","4.9.4+dfsg-1","4.9.5+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"wordpress","binary_version":"4.9.5+dfsg1-1"},{"binary_name":"wordpress-l10n","binary_version":"4.9.5+dfsg1-1"},{"binary_name":"wordpress-theme-twentyfifteen","binary_version":"4.9.5+dfsg1-1"},{"binary_name":"wordpress-theme-twentyseventeen","binary_version":"4.9.5+dfsg1-1"},{"binary_name":"wordpress-theme-twentysixteen","binary_version":"4.9.5+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20148.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}