CVE-2025-6213
Nginx Cache Purge Preload <= 2.1.1 - Authenticated (Administrator+) Remote Code Execution
highImproper Control of Generation of Code ('Code Injection')
7.2
CVSS Score
7.2
CVSS Score
high
Severity
2.1.3
Patched in
4d
Time to patch
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<=2.1.1PublishedJuly 21, 2025
Last updatedJuly 25, 2025
Affected pluginfastcgi-cache-purge-and-preload-nginx
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.