QID 150754

Date Published: 2023-12-06

QID 150754: WordPress REST API User Enumeration Vulnerability

WordPress is an open source blogging tool and content management system based on PHP and MySQL.

WordPress REST API username enumeration is a security vulnerability that allows attackers to discover valid usernames on a WordPress site by exploiting the endpoint.

QID Detection Logic:
This QID sends a HTTP GET request to "wp-json/wp/v2/users" or "?rest_route=/wp/v2/users" endpoints and checks the response body to confirm the vulnerability.

Successful exploitation allows an unauthenticated attacker to gain access to the list of users on a WordPress installation that have published atleast one post.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    To prevent WordPress REST API username enumeration, use a WordPress plugin like "Stop User Enumeration", disable REST API or implement custom .htaccess rules to block username enumeration requests.

    Vendor References

    CVEs related to QID 150754

    Software Advisories
    Advisory ID Software Component Link

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report