CVE Explorer
CVE-2026-8977
The WP GDPR Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ninja_gdpr_ajax_actions' AJAX action in versions up to, and including, 1.0.0. This is due to missing capability and nonce checks on the handleAjaxCalls() function, combined with insufficient input sanitization on the gdprConfig values and missing output escaping in the generateCSS() function which echoes stored configuration values directly into a <style> block rendered on wp_head. This makes it
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"WP GDPR Cookie Consent","vendor":"techjewel","versions":[{"lessThanOrEqual":"1.0.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/wp-gdpr-cookie-consent/trunk/Classes/GdprHandler.php#L169"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/wp-gdpr-cookie-consent/trunk/Classes/GdprHandler.php#L7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/wp-gdpr-cookie-consent/trunk/Classes/GdprHandler.php#L86"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/wp-gdpr-cookie-consent/trunk/wp-gdpr-cookie-consent.php#L35"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/95c7f999-3676-4b91-9ee0-f55a27bcd93c?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d5c756ba4625c43110d2ed970d25e6088fe2d7138e1dc01d26cc8eb1952129b4 · sha256:1075e2d59e42d184… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.