Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-8977: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in techjewel WP GDPR Cookie Consent

0
Medium
VulnerabilityCVE-2026-8977cvecve-2026-8977cwe-79
Published: Tue Jun 09 2026 (06/09/2026, 03:41:21 UTC)
Source: CVE Database V5
Vendor/Project: techjewel
Product: WP GDPR Cookie Consent

Description

The WP GDPR Cookie Consent WordPress plugin up to version 1. 0. 0 contains a stored cross-site scripting (XSS) vulnerability. This occurs due to missing capability and nonce checks in an AJAX handler combined with insufficient input sanitization and missing output escaping in CSS generation. Authenticated users with subscriber-level access or higher can inject arbitrary scripts that execute when other users load affected pages. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation guidance is currently available from the vendor.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/09/2026, 05:04:43 UTC

Technical Analysis

CVE-2026-8977 is a stored cross-site scripting vulnerability in the WP GDPR Cookie Consent plugin for WordPress. The issue arises from the 'ninja_gdpr_ajax_actions' AJAX action lacking proper capability and nonce verification in the handleAjaxCalls() function. Additionally, gdprConfig values are not properly sanitized, and the generateCSS() function outputs these values directly into a <style> block without escaping. This combination allows authenticated users with subscriber-level privileges or higher to inject malicious scripts that execute in the context of any user visiting the affected pages.

Potential Impact

An attacker with subscriber-level or higher access can inject arbitrary JavaScript code into pages rendered by the plugin. This can lead to client-side script execution in other users' browsers, potentially resulting in session hijacking, defacement, or other attacks that leverage XSS. The vulnerability does not affect availability but impacts confidentiality and integrity of user sessions and data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict subscriber-level user capabilities if possible and monitor for suspicious activity related to the plugin. Avoid granting unnecessary privileges to untrusted users. Do not rely on generic mitigations; wait for vendor-provided updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6/9/2026, 4:49:00 AM

Last enriched: 6/9/2026, 5:04:43 AM

Last updated: 6/9/2026, 7:58:22 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses