Loading HuntDB...

GHSA-qm68-r9p4-ghhx

GitHub Security Advisory

⚠ Unreviewed HIGH Has CVE

Advisory 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.

Related CVEs

Key Information

GHSA ID
GHSA-qm68-r9p4-ghhx
Published
May 13, 2022 1:41 AM
Last Modified
April 20, 2025 3:35 AM
CVSS Score
7.5 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: August 30, 2025 6:32 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.