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.
https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/
https://www.debian.org/security/2019/dsa-4401
https://wpvulndb.com/vulnerabilities/9171
https://wordpress.org/support/wordpress-version/version-5-0-1/
https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/
https://lists.debian.org/debian-lts-announce/2019/02/msg00019.html
https://codex.wordpress.org/Version_4.9.9
https://blog.secarma.co.uk/labs/near-phar-dangerous-unserialization-wherever-you-are