{"id":"CVE-2017-1001000","details":"The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in the REST API in WordPress 4.7.x before 4.7.2 does not require an integer identifier, which allows remote attackers to modify arbitrary pages via a request for wp-json/wp/v2/posts followed by a numeric value and a non-numeric value, as demonstrated by the wp-json/wp/v2/posts/123?id=123helloworld URI.","modified":"2026-04-10T03:56:08.069398Z","published":"2017-04-03T01:59:00.227Z","references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2017/02/10/16"},{"type":"WEB","url":"http://www.securitytracker.com/id/1037731"},{"type":"WEB","url":"https://codex.wordpress.org/Version_4.7.2"},{"type":"WEB","url":"https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab"},{"type":"WEB","url":"https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/"},{"type":"WEB","url":"https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/"},{"type":"FIX","url":"https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7"},{"type":"ARTICLE","url":"https://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html"},{"type":"ARTICLE","url":"https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wordpress/wordpress","events":[{"introduced":"0"},{"last_affected":"14247ee4302378d292863865c643abe99bbfe3c7"},{"introduced":"0"},{"last_affected":"c840eb9da2ef1c7a23d3ec2d63c0d953fed56926"},{"introduced":"0"},{"last_affected":"1ea8e9a4f03f425a6a77c3487528fedd3f33c100"},{"fixed":"e357195ce303017d517aff944644a7a1232926f7"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.7"},{"introduced":"0"},{"last_affected":"4.7.1"},{"introduced":"0"},{"last_affected":"4.7.2"}]}}],"versions":["4.7","4.7.1","4.7.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1001000.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}