{"id":"UBUNTU-CVE-2017-5611","details":"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.","modified":"2025-10-24T04:46:09Z","published":"2017-01-30T04:59:00Z","upstream":["CVE-2017-5611"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-5611"},{"type":"REPORT","url":"https://github.com/WordPress/WordPress/commit/85384297a60900004e27e417eac56d24267054cb"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/01/27/2"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/01/28/5"},{"type":"REPORT","url":"https://codex.wordpress.org/Version_4.7.2"},{"type":"REPORT","url":"https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-5611"}],"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_version":"4.4.2+dfsg-1ubuntu1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5611.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}