Skip to main content

WPLP Cookie Consent CVE-2026-14475

| EUVDEUVD-2026-42844 MEDIUM
SQL Injection (CWE-89)
2026-07-10 Wordfence GHSA-4x73-55x9-5rm2
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 admin credentials (phishing or credential stuffing)
  2. Delivery
    Authenticate to wp-admin panel
  3. Exploit
    Craft malicious scan_id AJAX request
  4. Execution
    Append SQL UNION payload to cookie scanner query
  5. Impact
    Extract WordPress database contents

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 an authenticated WordPress session with administrator-level privileges (role: administrator or above). The vulnerable code paths reside exclusively in the admin cookie scanner module, meaning the attacker must have access to wp-admin AJAX endpoints restricted to administrator roles. The plugin must be installed and active on the target WordPress installation. No special server configuration or non-default WordPress settings are required beyond the plugin being present. Limiting factors: the PR:H requirement means unauthenticated or subscriber/editor-level users cannot trigger this vulnerability; exploitation is entirely blocked without admin credentials. The attack is also read-only - the CVSS vector confirms I:N, so no data modification or site takeover is achievable through this flaw alone.

Impact

The CVSS 3.1 base score of 4.9 (Medium) accurately reflects the constrained real-world risk. The vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N indicates network accessibility and no complexity, but anchors risk firmly on the PR:H requirement - exploitation demands a fully authenticated WordPress administrator session. In practice, an attacker who already holds admin credentials can cause far more damage through native WordPress functionality, significantly reducing the marginal impact of this SQL injection. Impact is confidentiality-only (C:H, I:N, A:N), meaning an attacker can read database contents but cannot modify data or disrupt availability via this vector alone. No EPSS score was provided in the source data, so probabilistic exploitation likelihood cannot be quantified. KEV status is negative and no POC has been identified, consistent with the high privilege bar. The primary realistic threat scenario is a rogue or compromised administrator account, or a privilege escalation chain where this SQLi is a secondary step to harvest credentials. This is not a fire-drill priority for most organizations but warrants patching to close the data-extraction path.

Exploit ScenarioDerived

An attacker with a compromised or rogue WordPress administrator account authenticates to the wp-admin panel, then submits a crafted AJAX request to the cookie scanner module with a malformed 'scan_id' value containing appended SQL syntax (e.g., UNION SELECT payloads). The unsanitized parameter is interpolated directly into the running query, allowing the attacker to retrieve arbitrary table contents - including WordPress user hashes, plugin configuration, or stored consent records - from the underlying MySQL database. No public exploit code has been identified, but the vulnerability class (unsanitized AJAX parameter in admin context) is well-understood and straightforward to exploit manually.

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 10, 2026

SQL Injection in the Cookie Banner for GDPR/CCPA - WPLP Cookie Consent WordPress plugin (versions up to and including 4.3.6) enables authenticated administrators to append arbitrary SQL to existing queries via the unsanitized 'scan_id' parameter in the cookie scanner module. Exploitation is constrained to administrator-level accounts (PR:H per CVSS vector), making this a privileged read-only database extraction flaw rather than a broad remote attack surface. No public exploit code or CISA KEV listing has been identified at time of analysis; a patch commit is referenced in the WordPress plugin repository changeset.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. A changeset has been committed to the WordPress plugin repository (https://plugins.trac.wordpress.org/changeset?reponame=&old=3601475%40gdpr-cookie-consent&new=3601475%40gdpr-cookie-consent), indicating the vendor has addressed the issue in trunk, but the exact version number of the released fix was not included in the available data - verify the current plugin version in the WordPress repository before updating. As a compensating control, restrict WordPress administrator account access to the minimum number of trusted users; this directly removes the exploitation prerequisite. Additionally, consider deploying a WAF rule (such as those provided by Wordfence's own firewall) to detect and block SQL injection attempts against wp-admin AJAX endpoints targeting the scan_id parameter. If the cookie scanner module is not actively used, deactivating or removing the plugin eliminates exposure entirely with no functional impact beyond loss of the scanner feature. No workaround for the SQL injection itself exists short of patching.

Affected VersionsENISA

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

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) and manifests specifically within the plugin's cookie scanner admin module. Source code references point to three files: class-wpl-cookie-consent-cookie-scanner.php (lines 994 and 1036) and class-wpl-cookie-consent-cookie-scanner-ajax.php (lines 102, 823, and 847) - all under the gdpr-cookie-consent plugin's admin/modules/cookie-scanner path. The 'scan_id' parameter accepted by AJAX handlers in this module is concatenated into SQL queries without adequate escaping or prepared statement use, a classic second-order or direct injection pattern. The affected CPE is cpe:2.3:a:wplegalpages:cookie_banner_for_gdpr_/_ccpa_-_wplp_cookie_consent:*:*:*:*:*:*:*:*, identifying the vendor as WP Legal Pages (wplegalpages). The plugin is a GDPR/CCPA compliance tool, meaning it typically runs on sites that store user consent logs, cookie scan results, and potentially PII-adjacent configuration - making the underlying database a meaningful extraction target.

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), requires no special conditions (AC:L), demands administrator credentials (PR:H), and enables read-only database extraction with no integrity or availability impact.

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 'scan_id' parameter in all versions up to, and including, 4.3.6 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 79% exploitable
Prevalence
Low
niche GDPR compliance WordPress plugin, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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