Cookie Banner for GDPR / CCPA <= 4.3.5 - Authenticated (Administrator+) SQL Injection via 's' Parameter
Strategic Overview
- Status
- Patched in 4.3.6
- Affected Plugin
- WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode
- Affected Version
<= 4.3.5- CVSS
- 4.9Medium
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2026-12920
At a glance
CVE-2026-12920 is a medium-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the WPLP Cookie Consent WordPress plugin, affecting versions <= 4.3.5. It carries a CVSS score of 4.9 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 4.3.6; sites on affected versions should update now. Disclosed July 2026, reported by Wordfence PRISM.
Vulnerability Overview
The Cookie Banner for GDPR / CCPA – WPLP Cookie Consent plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 4.3.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Reaching this weakness in WPLP Cookie Consent <= 4.3.5 takes an account at Administrator level or above. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.
A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For WPLP Cookie Consent the fix is 4.3.6: builds <= 4.3.5 are affected, anything from 4.3.6 onward is not.
Remediation
Update to version 4.3.6, or a newer patched version
How does WordSec protect against this?
An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: WPLP Cookie Consent 4.3.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in WPLP Cookie Consent – Cookie Banner & Consent Management for GDPR, CCPA & Google Consent Mode
- 7.5CVE-2025-11754: Cookie Banner Info Exposure
CVE-2025-11754 - 7.2CVE-2026-13360: Cookie Banner for GDPR / CCPA <= 4.3.5 Stored XSS
CVE-2026-13360 - 7.2CVE-2024-4869: WP Cookie Consent Stored XSS
CVE-2024-4869 - 6.4CVE-2023-23678: WP Cookie Notice for GDPR CSV Injection
CVE-2023-23678 - 6.3CVE-2022-4974: Freemius SDK <= 2.4.2 Missing Authorization Checks
CVE-2022-4974 - 5.3CVE-2025-66080: Cookie Notice for GDPR Missing Authorization
CVE-2025-66080 - 5.3CVE-2025-14061: Cookie Banner Unauthenticated Arbitrary Post Deletion
CVE-2025-14061 - 5.3CVE-2025-66133: Cookie Notice for GDPR Missing Authorization
CVE-2025-66133
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C