SQL injection vulnerability in wp-includes/class-wp-query.php in WP_Query in WordPress before 4.7.2 allows remote attackers to execute arbitrary SQL commands by leveraging the presence of an affected plugin or theme that mishandles a crafted post type name.
https://www.oracle.com/security-alerts/cpujan2021.html
https://wpvulndb.com/vulnerabilities/8730
https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/
https://github.com/WordPress/WordPress/commit/85384297a60900004e27e417eac56d24267054cb
https://codex.wordpress.org/Version_4.7.2
http://www.securitytracker.com/id/1037731
http://www.securityfocus.com/bid/95816