Nginx Cache Purge Preload <= 2.1.1 - Authenticated (Administrator+) Remote Code Execution

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2025-6213
CVSS High (7.2)
Publicly Published July 21, 2025
Last Updated July 25, 2025
Researcher cynau1t (TianGong)
Description

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' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute code on the server.

References

1 affected software package

Software Type Plugin
Software Slug fastcgi-cache-purge-and-preload-nginx (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.1.1
Patched Version
  • 2.1.3
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.