WordPress 5.7.21 vulnerabilities
14 published vulnerabilities affect WordPress 5.7.21.
What to upgrade to
The newest release on the 5.7 line is 5.7.22, with 14 known CVEs. The newest WordPress release we know of is 7.1.5, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 5.7.22newest 5.7 release | none | 14CVE-2021-44223, CVE-2026-65640, CVE-2022-21664 and 11 more | none |
| 7.1.5newest release | all 141 critical | none | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting WordPress 5.7.21
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2021-44223WordPress before 5.8 lacks support for the Update URI plugin header | 9.8 | None known | 29% | 5.8NVD |
| CVE-2026-65640WordPress is vulnerable to a remote code execution vulnerability via malicious Postscript file upload by an Author level user or higher. Prerequisites: *… | 8.8 | None known | 2% | 7.0.4CVE record |
| CVE-2022-21664SQL injection in WordPress | 8.8 | None known | 4% | 5.8.3NVD |
| CVE-2022-21663Authenticated Object Injection in Multisites in WordPress | 7.2 | Proof of concept | 4% | 5.8.3NVD |
| CVE-2022-3590WP <= 6.1.1 - Unauthenticated Blind SSRF via DNS Rebinding | 5.9 | Proof of concept | 4% | –CVE record |
| CVE-2022-21662Stored XSS in WordPress | 5.4 | None known | 65% | 5.8.3NVD |
| CVE-2022-43500Cross-site scripting vulnerability in WordPress versions prior to 6.0.3 allows a remote unauthenticated attacker to inject an arbitrary script | 6.1 | None known | 1% | 6.0.3CVE record |
| CVE-2022-43497Cross-site scripting vulnerability in WordPress versions prior to 6.0.3 allows a remote unauthenticated attacker to inject an arbitrary script | 6.1 | None known | 1% | 6.0.3CVE record |
| CVE-2023-22622WordPress through 6.1.1 depends on unpredictable client visits to cause wp-cron.php execution and the resulting security updates, and the source code describes… | 5.3 | None known | 2% | –NVD |
| CVE-2022-43504Improper authentication vulnerability in WordPress versions prior to 6.0.3 allows a remote unauthenticated attacker to obtain the email address of the user who… | 5.3 | None known | 2% | 6.0.3CVE record |
| CVE-2021-39201Authenticated cross-site scripting (XSS) in WordPress editor | 5.4 | None known | 1% | 5.8NVD |
| CVE-2021-39200Information Disclosure in wp_die() via JSONP in wordpress | 5.3 | None known | 2% | 5.8.1NVD |
| CVE-2023-5692WordPress Core <= 6.4.3 - Sensitive Information Exposure via redirect_guess_404_permalink | 5.3 | None known | under 1% | 6.4.4CVE record |
| CVE-2025-54352WordPress 3.5 through 6.8.2 allows remote attackers to guess titles of private and draft posts via pingback.ping XML-RPC requests | 3.7 | Proof of concept | under 1% | –CVE record |
Fixed since 5.7.20
1 CVE that affects 5.7.20, the release before it, does not affect 5.7.21 (1 exploited):
- CVE-2026-119977 WordPress Core 4.7.0 - 7.1.3 - Unauthenticated Upgrade-Window Staged-Installer Remote Code Execution CVSS 8.1 · exploited in the wild
Support for the 5.7 line
The 5.7 line was first released 9 March 2021. Active support (new features and bug fixes) ended 20 July 2021. Its latest release is 5.7.22. Dates and latest release from endoflife.date.
Other WordPress 5.7 releases
5.7.2214 5.7.2015 5.7.1915 5.7.1816 5.7.1716 5.7.1616 5.7.1518 5.7.1418 5.7.1320 5.7.1220 5.7.1120 5.7.1021 5.7.923 5.7.821
How this list is made
These are the CVEs Dawnsentry matches to each WordPress version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.