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
Published Apr 3, 2017
7.5
HIGHCVSS 3.0
EPSS 84.94%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 84.94% (0.84935) | 99.71th | v5 (v2026.06.15) |
| Aug 16, 2026 | 84.94% (0.84935) | 99.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 81.85% (0.81848) | 99.60th | v5 (v2026.06.15) |
| Mar 23, 2026 | 78.93% (0.78934) | 99.04th | v4 (v2025.03.14) |
| Mar 30, 2025 | 80.37% (0.80371) | 99.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 83.02% (0.83022) | 99.07th | v4 (v2025.03.14) |
| Mar 24, 2025 | 80.37% (0.80371) | 99.10th | v4 (v2025.03.14) |
| Mar 23, 2025 | 83.02% (0.83022) | 99.20th | v4 (v2025.03.14) |
| Mar 17, 2025 | 80.37% (0.80371) | 99.08th | v4 (v2025.03.14) |
| Feb 25, 2025 | 40.04% (0.40045) | 97.38th | v3 (v2023.03.01) |
| Dec 12, 2024 | 45.95% (0.45946) | 97.57th | v3 (v2023.03.01) |
| May 26, 2024 | 45.57% (0.45568) | 97.41th | v3 (v2023.03.01) |
| Nov 8, 2023 | 60.67% (0.60671) | 97.46th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.27% (0.97272) | 99.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 64.63% (0.64635) | 99.03th | v2 (v2022.01.01) |
| Feb 4, 2022 | 64.63% (0.64635) | 98.79th | v2 (v2022.01.01) |
| Feb 3, 2022 | 16.42% (0.16421) | 90.23th | v1 |
| Jan 6, 2022 | 16.42% (0.16421) | 90.12th | v1 |
| Sep 1, 2021 | 16.42% (0.16421) | 97.35th | v1 |
| Apr 14, 2021 | 16.42% (0.16421) | 0.00th | v1 |
No CWE recorded.
References (9)
- http://www.openwall.com/lists/oss-security/2017/02/10/16 mailing-listx_refsource_MLIST
- http://www.securitytracker.com/id/1037731 vdb-entryx_refsource_SECTRACK
- https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html x_refsource_MISC
- https://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html x_refsource_MISC
- https://codex.wordpress.org/Version_4.7.2 x_refsource_CONFIRM
- https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab x_refsource_MISC
- https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7 x_refsource_CONFIRM
- https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/ x_refsource_CONFIRM
- https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/ x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2017/02/10/16 | mailing-listx_refsource_MLIST | |
| http://www.securitytracker.com/id/1037731 | vdb-entryx_refsource_SECTRACK | |
| https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html | x_refsource_MISC | |
| https://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html | x_refsource_MISC | |
| https://codex.wordpress.org/Version_4.7.2 | x_refsource_CONFIRM | |
| https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab | x_refsource_MISC | |
| https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7 | x_refsource_CONFIRM | |
| https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/ | x_refsource_CONFIRM | |
| https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/ | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.