Threat Overview
A critical remote code execution vulnerability has been disclosed in WPLP Cookie Consent (gdpr-cookie-consent), a widely deployed GDPR and CCPA privacy banner plugin used by thousands of WordPress sites to meet legal compliance mandates.
Tracked under CVE-2026-75865 (CVSS 9.8), the flaw combines an authorization bypass on exposed REST connector endpoints with unrestricted file upload handling in versions up to and including 4.4.1—allowing unauthenticated remote attackers to plant executable PHP scripts directly onto the web server.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | CRITICAL (CVSS 9.8 / 10.0) |
| Vulnerability Class | Unrestricted Upload of Dangerous File & Auth Bypass (CWE-434 / CWE-862) |
| Vulnerable Components | WPLP Cookie Consent (gdpr-cookie-consent) versions up to and including 4.4.1 |
| Attack Vector | Unauthenticated HTTP request to WPLP connector REST API (saas_upload_logo) |
| Impact Scope | Arbitrary PHP webshell execution, full database compromise, and server takeover |
| Remediation | Update immediately to WPLP Cookie Consent 4.4.2 or higher |
The Breakdown: How the Exploit Works
To synchronize banner branding with its cloud compliance dashboard, WPLP Cookie Consent registers custom connector endpoints along with a saas_upload_logo() handler designed to save custom banner logos to the local WordPress filesystem.
In versions up to and including 4.4.1, these connector endpoints suffer from broken permission validation that allows unauthenticated remote callers to invoke privileged synchronization actions. Worse, the saas_upload_logo() function writes the incoming payload directly into the publicly accessible WordPress uploads directory without verifying file extensions or MIME types. An attacker can send a single unauthenticated request containing a .php webshell disguised as a logo upload and immediately execute commands on the server.
The Operational Risk: What an Attacker Gains
- Immediate Remote Code Execution: Attackers execute arbitrary operating system commands and PHP scripts under the web server’s user account.
- Ironic Compliance Liability: A plugin installed specifically to protect visitor privacy and prevent regulatory fines becomes the exact entry point for a full-scale data breach.
- Persistent Backdoor Implantation: Once a webshell runs, attackers inject hidden backdoors across core WordPress files and schedule recurring cron jobs to survive plugin updates.
- Database & Credential Theft: Attackers gain read access to
wp-config.php, extracting database credentials, SMTP keys, and stored customer records.
Our Take in Plain English
“There is a painful irony when a GDPR privacy banner—installed by a conscientious business owner to stay compliant with privacy laws—becomes the wide-open backdoor that causes a data breach. A cookie consent banner is just a snippet of front-end interface code; it has no business exposing unauthenticated file-upload endpoints on your server. On a modern pre-rendered edge architecture, privacy banners run purely as lightweight client-side scripts over static HTML, with zero server-side file upload handlers or PHP execution engines to exploit.”
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Couples simple UI features like cookie banners to heavyweight PHP plugins with filesystem write permissions and exposed REST endpoints.
- Modern Pre-Rendered Edge Architecture: Renders compliance notices at the browser edge with immutable static files and zero server-side upload or execution pathways.
Immediate Action Items for WordPress Operators
- Update Immediately: Upgrade WPLP Cookie Consent (
gdpr-cookie-consent) to version4.4.2or higher (WordPress Trac Changeset 3674117). - Audit Upload Directories for PHP Files: Scan
wp-content/uploads/for any unexpected.php,.phtml, or.pharfiles and remove them immediately. - Disable PHP Execution in Uploads: Ensure your web server configuration explicitly blocks PHP script execution inside the
wp-content/uploads/directory tree. - Review Access Logs: Check server access logs for unauthorized POST requests targeting WPLP connector or
saas_upload_logoendpoints.
