CVE-2026-8977: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in techjewel WP GDPR Cookie Consent
The WP GDPR Cookie Consent plugin for WordPress versions up to and including 1.0.0 contains a stored cross-site scripting (XSS) vulnerability. This flaw arises from missing capability and nonce checks in an AJAX handler and insufficient input sanitization combined with missing output escaping in CSS generation. Authenticated users with subscriber-level access or higher can inject malicious scripts that execute when other users load affected pages.
AI Analysis
Technical Summary
CVE-2026-8977 is a stored cross-site scripting vulnerability in the WP GDPR Cookie Consent plugin for WordPress (versions <=1.0.0). The vulnerability stems from the handleAjaxCalls() function lacking proper capability and nonce verification, allowing authenticated users to submit malicious input via the 'ninja_gdpr_ajax_actions' AJAX action. Additionally, the gdprConfig values are not properly sanitized, and the generateCSS() function outputs these values directly into a <style> block in wp_head without escaping, enabling script injection that executes in the context of any user visiting the affected page.
Potential Impact
An attacker with subscriber-level or higher privileges can inject arbitrary web scripts that execute in the browsers of users viewing the affected pages. This can lead to theft of user credentials, session hijacking, or other malicious actions performed in the context of the victim's session. The vulnerability does not impact availability but compromises confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict plugin usage to trusted users only and consider disabling or removing the plugin if possible. Monitor for updates from the vendor and apply any released patches promptly.
CVE-2026-8977: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in techjewel WP GDPR Cookie Consent
Description
The WP GDPR Cookie Consent plugin for WordPress versions up to and including 1.0.0 contains a stored cross-site scripting (XSS) vulnerability. This flaw arises from missing capability and nonce checks in an AJAX handler and insufficient input sanitization combined with missing output escaping in CSS generation. Authenticated users with subscriber-level access or higher can inject malicious scripts that execute when other users load affected pages.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8977 is a stored cross-site scripting vulnerability in the WP GDPR Cookie Consent plugin for WordPress (versions <=1.0.0). The vulnerability stems from the handleAjaxCalls() function lacking proper capability and nonce verification, allowing authenticated users to submit malicious input via the 'ninja_gdpr_ajax_actions' AJAX action. Additionally, the gdprConfig values are not properly sanitized, and the generateCSS() function outputs these values directly into a <style> block in wp_head without escaping, enabling script injection that executes in the context of any user visiting the affected page.
Potential Impact
An attacker with subscriber-level or higher privileges can inject arbitrary web scripts that execute in the browsers of users viewing the affected pages. This can lead to theft of user credentials, session hijacking, or other malicious actions performed in the context of the victim's session. The vulnerability does not impact availability but compromises confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict plugin usage to trusted users only and consider disabling or removing the plugin if possible. Monitor for updates from the vendor and apply any released patches promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-19T13:04:46.100Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a279b3ce29bf47b5035aa2d
Added to database: 06/09/2026, 04:49:00 UTC
Last enriched: 06/16/2026, 08:44:40 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.