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.
2017-04-03T01:59:00.227
2025-04-20T01:37:25.860
Deferred
46fe6300-5254-4a98-9594-a9567bec8179
CVSSv3.0: 7.5 (HIGH)
AV:N/AC:L/Au:N/C:N/I:P/A:N
10.0
2.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | wordpress | wordpress | 4.7 | Yes |
Application | wordpress | wordpress | 4.7.1 | Yes |
Application | wordpress | wordpress | 4.7.2 | Yes |