Exposure template · low
WordPress user enumeration via REST API
The WordPress REST API lists site users at /wp-json/wp/v2/users, exposing their account slugs (login names) and display names to anyone. That hands an attacker a ready-made username list for credential-stuffing and targeted phishing; the endpoint should be restricted.
What it checks
On every web host the scan discovers, Spiderfootplus sends 2 GET requests and reports a finding when the response matches. It only reads; it never logs in, writes or exploits.
/wp-json/wp/v2/users/?rest_route=/wp/v2/users
Detect it
# Every exposure template, with the rest of the web checks$ spiderfootplus scan example.com -p web # List the templates and their severities$ spiderfootplus templatestemplate_scan is marked invasive: it requests paths a normal visitor would not. Only scan hosts you are authorised to test.
Fix it: reduce what the server discloses
- Disable status, info and enumeration endpoints that are not needed publicly.
- Hide version strings in banners and headers.
Write your own
Templates are YAML in a nuclei-compatible format. See Write a vulnerability template to add a check like this one.