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.11.23.2, updated 2026-11-23; 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.4th percentile)
Published
2023-10-16
Source
nvd

References

NVD recordWordPress core advisories

Quick answers

Is CVE-2023-5561 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 4%.

Which version fixes CVE-2023-5561?

WordPress core: 4.7.27, 4.8.23, 4.9.24.

How do I check whether I am affected?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

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

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

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

Install docs   How findings are ranked

Related advisories