Medium
Security advisory
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5487
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:27 UTC · Revision 1
Source evidence
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.
osv:CVE-2017-5487
Complete source record
{
"id": "34da70af8de9c77dfa9be9d83d6781d8430533d466218e2990e014e90a27bc76",
"url": "https://osv.dev/vulnerability/CVE-2017-5487",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5487",
"summary": "wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.",
"evidence": "osv:CVE-2017-5487",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-5487",
"aliases": [
"CVE-2017-5487"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "14247ee4302378d292863865c643abe99bbfe3c7"
},
{
"fixed": "daf358983cc1ce0c77bf6d2de2ebbb43df2add60"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "daf358983cc1ce0c77bf6d2de2ebbb43df2add60"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.7.0",
"4.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5487.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress-develop",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "efa83f48bd4ebd066e5efc94b9feefe50e7925a2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5487.json"
}
}
],
"modified": "2026-10-24T10:47:30.291945034Z",
"provider": "osv",
"references": [
"https://wpvulndb.com/vulnerabilities/8715",
"https://www.exploit-db.com/exploits/41497/",
"https://codex.wordpress.org/Version_4.7.1",
"https://wordpress.org/news/2017/01/wordpress-4-7-1-security-and-maintenance-release/",
"https://www.wordfence.com/blog/2016/12/wordfence-blocks-username-harvesting-via-new-rest-api-wp-4-7/",
"https://github.com/WordPress/WordPress/commit/daf358983cc1ce0c77bf6d2de2ebbb43df2add60"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5487",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441282,
"published_at": "2017-01-15T02:59:02.797+00:00"
}