Skip to main content

WPLP Cookie Consent CVE-2026-12920

| EUVDEUVD-2026-41469 MEDIUM
SQL Injection (CWE-89)
2026-07-03 Wordfence GHSA-64rj-8mhx-6c97
4.9
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress admin credentials
  2. Delivery
    Authenticate to WP Admin panel
  3. Exploit
    Navigate to GDPR data-request table interface
  4. Execution
    Inject SQL payload via 's' search parameter
  5. Impact
    Extract sensitive database records via UNION-based injection

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid WordPress user account holding administrator-level privileges or higher (PR:H per CVSS vector). The attacker must access the admin-side GDPR data-request table interface that the plugin registers within WP Admin, and submit a crafted value for the 's' search/filter parameter. Limiting factors are: (1) administrator-level WordPress authentication is mandatory - unauthenticated users, subscribers, editors, and authors cannot trigger this code path; (2) the target site must have the plugin actively installed and running a version at or below 4.3.5; (3) the impact is read-only data extraction from the database - no data modification, privilege escalation, or service disruption is achievable through this vulnerability alone; (4) the vulnerability is not remotely exploitable without prior credential compromise or legitimate admin access.

Impact

The CVSS 3.1 base score of 4.9 with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N accurately reflects the primary tension in this vulnerability: the network-accessible attack surface and high confidentiality impact are substantially offset by the administrator-level privilege requirement (PR:H). In a typical WordPress single-site deployment, an administrator already possesses sufficient access to query the database through built-in tooling (wp-admin, plugin editors, phpMyAdmin if available), making the incremental risk of this SQLi relatively low. Risk is marginally elevated in multisite or managed hosting environments where WordPress administrators may have restricted direct database access. No EPSS data was provided, no CISA KEV listing exists, and no public exploit code has been identified - all signals consistent with a low-urgency finding. The missing EPSS score prevents quantified exploitation probability comparison. The four distinct vulnerable code locations do increase the effective attack surface within the plugin, but exploitation is gated entirely on obtaining valid admin credentials first.

Exploit ScenarioDerived

An attacker who has obtained WordPress administrator credentials - through phishing, credential stuffing, or insider threat - logs into the WP Admin panel and navigates to the GDPR data-request management table provided by the plugin. The attacker appends a SQL UNION SELECT payload to the 's' search parameter (e.g., injecting into the query at lines 322, 377, 492, or 513 of class-wpl-data-req-table.php), extracting sensitive records such as WordPress user hashes, email addresses, or stored PII from the database without triggering visible application errors. No public POC has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 03, 2026

SQL injection in the Cookie Banner for GDPR/CCPA - WPLP Cookie Consent WordPress plugin (all versions up to and including 4.3.5) enables authenticated administrators to append arbitrary SQL clauses to existing queries via the unescaped 's' search parameter in the admin data-request table interface. The vulnerable code spans at least four distinct query paths in class-wpl-data-req-table.php (lines 322, 377, 492, and 513), each failing to sanitize or properly prepare user-supplied input before use in database queries. No public exploit or CISA KEV listing has been identified at time of analysis; the high privilege requirement (WordPress administrator) substantially constrains real-world attack surface.

RemediationAI

A code fix was committed to the plugin's WordPress Subversion repository under changeset 3593450 (https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3593450%40gdpr-cookie-consent&new=3593450%40gdpr-cookie-consent); however, the exact patched release version is not independently confirmed from available data - administrators should consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/572bfa82-92f5-4801-8710-0626ca563a6c and the WordPress plugin directory to identify the first released version incorporating this changeset, then upgrade immediately. As a compensating control prior to patching, enforce multi-factor authentication on all WordPress administrator accounts and restrict administrator-role assignment to the minimum necessary personnel, since PR:H means credential compromise is the sole prerequisite for exploitation. Temporary deactivation of the plugin's data-request admin table feature (if configurable) would eliminate the vulnerable endpoint entirely, at the cost of losing GDPR data-subject request management functionality.

Affected VersionsENISA

Cookie Banner for GDPR / CCPA – WPLP Cookie Consent 0 ≤4.3.5

Affected Packages

euvd cookie_banner_for_gdpr_ccpa_wplp_cookie_consent no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), specifically the failure to use WordPress's wpdb->prepare() mechanism or equivalent escaping before interpolating the 's' parameter into SQL queries. The affected component is the admin-facing GDPR data-request management module of the gdpr-cookie-consent plugin (CPE: cpe:2.3:a:wplegalpages:cookie_banner_for_gdpr_/_ccpa_-_wplp_cookie_consent:*:*:*:*:*:*:*:*), developed by WP Legal Pages. The WordPress plugin architecture exposes this functionality via the WP Admin dashboard, and the vulnerable parameter appears in a WP_List_Table-style search/filter field. The multi-site occurrence of the flaw across lines 322, 377, 492, and 513 of class-wpl-data-req-table.php suggests the insecure pattern was replicated across several admin table query methods rather than isolated to a single code path.

Know when Wplegalpages gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Admin panel is network-accessible (AV:N), but PR:H reflects mandatory administrator credentials; SQL injection yields database reads only, so I:N and A:N.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
common WordPress GDPR compliance plugin, not universally deployed
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy