WordPress 5.4.16 vulnerabilities

31 published vulnerabilities affect WordPress 5.4.16, 2 of them known to be exploited in the wild.

31CVEs
6critical (CVSS 9+)
8high (CVSS 7–8.9)
2exploited in the wild

What to upgrade to

The newest release on the 5.4 line is 5.4.26, with 25 known CVEs. The newest WordPress release we know of is 7.1.5, with no known CVEs.

Upgrade toFixesStill openNew in that release
5.4.26newest 5.4 release6 of 312 exploited25CVE-2021-44223, CVE-2020-28032, CVE-2020-28037 and 22 morenone
7.1.5newest releaseall 312 exploited, 6 criticalnonenone

"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.4.16

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.

CVECVSSExploitationEPSSFixed in
CVE-2026-87902An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme…8.1Exploited96%5.4.23CVE record
CVE-2026-64638WordPress is vulnerable to a pre-auth reflected XSS vulnerability on the login screen. Via a specially crafted malicious third-party website hosted by an…8.9Proof of concept66%5.4.20vendor advisory
CVE-2021-44223WordPress before 5.8 lacks support for the Update URI plugin header9.8None known29%5.8NVD
CVE-2020-28032WordPress before 5.5.2 mishandles deserialization requests in wp-includes/Requests/Utility/FilteredIterator.php9.8None known16%5.5.2NVD
CVE-2020-28037is_blog_installed in wp-includes/functions.php in WordPress before 5.5.2 improperly determines whether WordPress is already installed, which might allow an…9.8None known8%5.5.2NVD
CVE-2020-28036wp-includes/class-wp-xmlrpc-server.php in WordPress before 5.5.2 allows attackers to gain privileges by using XML-RPC to comment on a post9.8None known5%5.5.2NVD
CVE-2020-28035WordPress before 5.5.2 allows attackers to gain privileges via XML-RPC9.8None known4%5.5.2NVD
CVE-2026-119977WordPress Core 4.7.0 - 7.1.3 - Unauthenticated Upgrade-Window Staged-Installer Remote Code Execution8.1Exploited8%5.4.25CVE record
CVE-2020-28039is_protected_meta in wp-includes/meta.php in WordPress before 5.5.2 allows arbitrary file deletion because it does not properly determine whether a meta key is…9.1None known4%5.5.2NVD
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.8None known2%7.0.4CVE record
CVE-2022-21664SQL injection in WordPress8.8None known4%5.8.3NVD
CVE-2018-19296PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack8.8None known2%–NVD
CVE-2022-21663Authenticated Object Injection in Multisites in WordPress7.2Proof of concept4%5.8.3NVD
CVE-2020-28033WordPress before 5.5.2 mishandles embeds from disabled sites on a multisite network, as demonstrated by allowing a spam embed7.5None known3%5.5.2NVD
CVE-2022-3590WP <= 6.1.1 - Unauthenticated Blind SSRF via DNS Rebinding5.9Proof of concept4%–CVE record
CVE-2022-21662Stored XSS in WordPress5.4None known65%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 script6.1None known1%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 script6.1None known1%6.0.3CVE record
CVE-2020-28038WordPress before 5.5.2 allows stored XSS via post slugs6.1None known3%5.5.2NVD
CVE-2020-28034WordPress before 5.5.2 allows XSS associated with global variables6.1None known2%5.5.2NVD
CVE-2025-58674WordPress <= 6.8.2 - (Author+) Cross Site Scripting (XSS) Vulnerability5.9None knownunder 1%5.4.18CVE 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.3None known2%–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.3None known2%6.0.3CVE record
CVE-2021-39201Authenticated cross-site scripting (XSS) in WordPress editor5.4None known1%5.8NVD
CVE-2021-39200Information Disclosure in wp_die() via JSONP in wordpress5.3None known2%5.8.1NVD
CVE-2023-5692WordPress Core <= 6.4.3 - Sensitive Information Exposure via redirect_guess_404_permalink5.3None knownunder 1%6.4.4CVE record
CVE-2026-114570WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Quick Edit4.9None knownunder 1%5.4.20CVE record
CVE-2021-29450WordPress Authenticated disclosure of password-protected posts and pages4.3None known2%5.7.1NVD
CVE-2020-28040WordPress before 5.5.2 allows CSRF attacks that change a theme's background image4.3None known1%5.5.2NVD
CVE-2025-58246WordPress <= 6.8.2 - (Contributor+) Sensitive Data Exposure Vulnerability4.3None knownunder 1%5.4.18CVE 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 requests3.7Proof of conceptunder 1%–CVE record

Support for the 5.4 line

The 5.4 line was first released 31 March 2020. Active support (new features and bug fixes) ended 11 August 2020. Its latest release is 5.4.26. Dates and latest release from endoflife.date.

Other WordPress 5.4 releases

5.4.2625 5.4.2525 5.4.2426 5.4.2326 5.4.2227 5.4.2127 5.4.2027 5.4.1929 5.4.1829 5.4.1731 5.4.1531 5.4.1432 5.4.1334 5.4.1232

All WordPress versions

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.