CVE-2023-5561: WordPress does not properly restrict which user fields are searchable via the REST API, allowing unauthenticated attackers to discern the email addresses of users who have published public posts on an

medium Affects WordPress core. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

WordPress does not properly restrict which user fields are searchable via the REST API, allowing unauthenticated attackers to discern the email addresses of users who have published public posts on an

Package
WordPress core WordPress
Affected versions
>=4.7 and <4.7.27 or >=4.8 and <4.8.23 or >=4.9 and <4.9.24 or >=5.0 and <5.0.20 or >=5.1 and <5.1.17 or >=5.2 and <5.2.19 or >=5.3 and <5.3.16 or >=5.4 and <5.4.14 or >=5.5 and <5.5.13 or >=5.6 and <5.6.12 or >=5.7 and <5.7.10 or >=5.8 and <5.8.8 or >=5.9 and <5.9.8 or >=6.0 and <6.0.6 or >=6.1 and <6.1.4 or >=6.2 and <6.2.3 or >=6.3 and <6.3.2
Fixed in
4.7.27, 4.8.23, 4.9.24, 5.0.20, 5.1.17, 5.2.19, 5.3.16, 5.4.14, 5.5.13, 5.6.12, 5.7.10, 5.8.8, 5.9.8, 6.0.6, 6.1.4, 6.2.3, 6.3.2
Severity
medium  CVSS 5.3
Exploitation
not on CISA KEV · EPSS 4% (91.2th percentile)
Published
2023-10-16
Source
nvd

References

NVD recordWordPress core advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories