CVE-2026-12920: wplegalpages WPLP Cookie Consent SQL injection in s parameter

CVE-2026-12920 · Severity: medium · CVSS 4.9 · Published 2026-07-03

The WPLP Cookie Consent plugin for WordPress, which helps websites comply with privacy regulations like GDPR and CCPA, contains a security flaw. An attacker with administrator-level access could exploit this vulnerability to run unauthorized database commands. This could allow them to extract sensitive information from the website's database, potentially compromising user data or site configuration.

Technologies: WPLegalPages Cookie Banner for GDPR / CCPA – WPLP Cookie Consent. Vendors: WPLegalPages.

Quick answers

Is CVE-2026-12920 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-12920 being exploited in the wild.
How severe is CVE-2026-12920?
Medium severity, with a CVSS score of 4.9, published 3 July 2026.
Which products and versions are affected?
WPLegalPages Cookie Banner for GDPR / CCPA – WPLP Cookie Consent up to, and including, 4.3.5.
Is there a fix for CVE-2026-12920?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-12920 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-12920?
Check whether you run WPLegalPages Cookie Banner for GDPR / CCPA – WPLP Cookie Consent at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The WPLP Cookie Consent plugin for WordPress is vulnerable to a generic SQL Injection via the 's' parameter in all versions up to, and including, 4.3.5. The vulnerability stems from insufficient escaping of user-supplied input and a lack of proper preparation of the SQL query within the 'class-wpl-data-req-table.php' component. An authenticated attacker with administrator-level privileges can append additional SQL queries to existing ones. This enables the extraction of sensitive data from the WordPress database. The issue has been addressed in subsequent updates via improved input sanitization and query preparation.

Affected products

  • wplegalpages Cookie Banner for GDPR / CCPA – WPLP Cookie Consent up to, and including, 4.3.5

Timeline

  • 2026-07-03: advisory: NVD publication date
  • 2026-07-02: disclosed: Wordfence disclosure date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.