CVE-2025-6213
Published: 22 July 2025
Summary
CVE-2025-6213 is a high-severity Code Injection (CWE-94) vulnerability in Wordpress (inferred from references). Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 15.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Nginx Cache Purge Preload plugin for WordPress, also known as fastcgi-cache-purge-and-preload-nginx, contains a remote code execution vulnerability in all versions through 2.1.1. The flaw exists in the nppp_preload_cache_on_update function due to missing sanitization of the $_SERVER['HTTP_REFERERER'] value supplied by nppp_handle_fastcgi_cache_actions_admin_bar, enabling code injection as described by CWE-94.
Authenticated users holding Administrator privileges or higher can trigger the issue remotely to execute arbitrary code on the server, resulting in full compromise of confidentiality, integrity, and availability with a CVSS 3.1 score of 7.2.
References including the plugin GitHub repository, WordPress plugin directory, a tracked changeset, and the Wordfence advisory document the availability of corrective updates that address the input-handling weakness.
The associated EPSS score remains flat at 0.0221 with no material rise after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-22300
Vulnerability details
The Nginx Cache Purge Preload plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.1.1 via the 'nppp_preload_cache_on_update' function. This is due to insufficient sanitization of the $_SERVER['HTTP_REFERERER'] parameter passed from the 'nppp_handle_fastcgi_cache_actions_admin_bar'…
more
function. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute code on the server.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.