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.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
Any version
Timeline
| 2025-07-21: | Disclosed |
Credits
cynau1t
References
www.wordfence.com/...-5e0a-4ba7-8ff7-4c8ed01e9ef5?source=cve
wordpress.org/plugins/fastcgi-cache-purge-and-preload-nginx/
github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload
plugins.trac.wordpress.org/...ad-nginx&sfp_email=&sfph_mail=