CVE-2017-1001000

high
Published 2017-04-03 ยท Modified 2026-05-13
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.5

Description

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.

Predictions

Exploit likelihood
83%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Metasploit modules

WordPress REST API Content Injection
Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed4.7.2+dfsg-1
debian debianbullseyefixed4.7.2+dfsg-1
debian debianforkyfixed4.7.2+dfsg-1
debian debiansidfixed4.7.2+dfsg-1
debian debiantrixiefixed4.7.2+dfsg-1

Application impact

VendorProductVersionsFixed
wordpress wordpresswordpress4.7
wordpress wordpresswordpress4.7.1
wordpress wordpresswordpress4.7.2

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.