CVE-2026-129331 in WPLP Cookie Consent Plugininfo

Summary

by MITRE • 12/05/2026

The WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_data[wpl_datarequest_name]' parameter in all versions up to, and including, 4.5.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The injected payload is stored via an unauthenticated AJAX endpoint whose required nonces are both publicly emitted on the plugin's Data Subject Access Request shortcode page, and the script executes in the browser session of any administrator who opens the Compliance Records → Data Requests screen.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 12/05/2026

The vulnerability identified within the WPLP Cookie Consent plugin affects all versions up to 4.5.0 and represents a critical Stored Cross-Site Scripting flaw rooted in insufficient input sanitization and output escaping mechanisms. This security defect allows unauthenticated attackers to inject arbitrary web scripts into pages that are subsequently rendered for other users, specifically targeting administrators who manage compliance records. The core technical failure lies in the handling of the form_data[wpl_datarequest_name] parameter, which is processed through an AJAX endpoint designed for Data Subject Access Requests. Because this endpoint lacks adequate validation against malicious script injection and fails to properly escape output when rendering data back into the browser context, it creates a persistent vector for code execution that persists across user sessions until the compromised content is manually removed or overwritten.

The operational impact of this vulnerability is severe due to its unauthenticated nature combined with the high-privilege context in which the payload executes. Attackers do not need valid credentials to initiate the attack; they can directly interact with the AJAX endpoint to store malicious payloads. The required nonces for authentication are publicly emitted on the plugin's Data Subject Access Request shortcode page, effectively neutralizing any intended CSRF protection and allowing automated exploitation tools to bypass access controls easily. Once a payload is stored via this mechanism, it remains in the database until cleared by an administrator. When an administrator accesses the Compliance Records or Data Requests screen within the WordPress dashboard, their browser executes the injected script with administrative privileges. This can lead to complete compromise of the WordPress installation, including theft of session cookies, defacement of the site, redirection to malicious domains, or further lateral movement into backend systems depending on the specific payload delivered by the attacker.

From a classification perspective, this vulnerability aligns closely with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The stored nature of the attack also correlates with CWE-80, where malicious scripts are persisted in data stores and executed later by victims. In terms of offensive security frameworks such as MITRE ATT&CK for Enterprise, this behavior maps to T1059.007 JavaScript Execution within a browser environment and potentially T1132 Data Encoding for Obfuscation if the payload is encoded to evade detection. The exploitation chain leverages client-side execution triggered by server-stored data, highlighting the importance of treating all user-supplied input as untrusted regardless of its source or intended purpose.

Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. Administrators should immediately update the WPLP Cookie Consent plugin to version 4.5.1 or later where these sanitization issues have been resolved by the vendor. For environments unable to patch immediately, implementing a Web Application Firewall with rules capable of detecting and blocking XSS payloads in AJAX POST requests can provide temporary relief. Additionally, enforcing strict Content Security Policy headers that restrict script execution sources can mitigate the impact of any successfully injected scripts. Developers should also review similar endpoints within the plugin for analogous vulnerabilities, ensuring that all user inputs are strictly validated against expected formats using allowlists rather than blocklists and that output is consistently escaped based on the context in which it will be rendered. Regular security audits focusing on input handling in AJAX-driven interfaces are recommended to prevent recurrence of such flaws in future updates or similar plugins.

Responsible

Wordfence

Reservation

11/14/2026

Disclosure

12/05/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!