Skip to main content

Real Cookie Banner EUVDEUVD-2026-132123

| CVE-2026-119177 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-21 Wordfence GHSA-xrgr-jv4v-c6xr
5.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate comment form on target site
  2. Delivery
    Submit benign comment to get name/email approved
  3. Exploit
    Post comment with crafted script payload (auto-approved)
  4. Execution
    Payload stored and rendered unsanitized
  5. Impact
    Script executes in visitors' browsers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is gated by two concrete, evidence-stated prerequisites: (1) the site administrator must have activated the Real Cookie Banner (the plugin's primary onboarding step), and (2) at least one prior comment from the attacker's chosen name/email identity must already have been approved, so that WordPress core's default comment_previously_approved setting auto-approves the attacker's subsequent malicious comment without any further administrator action. These conditions, plus delivery through the standard comment workflow, are the limiting factors and are what justify the high attack complexity; once satisfied, no authentication is required (PR:N) and the injected script executes automatically for any user who views the injected page, with no user interaction needed (UI:N).

Impact

This is a medium-severity stored XSS (CVSS 5.4, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N) whose real-world priority is tempered by meaningful preconditions rather than the network/unauthenticated label alone. Although PR:N marks it as unauthenticated and AV:N as network-reachable, the AC:H is explained directly by the evidence: exploitation requires that the administrator has already activated the cookie banner AND that at least one prior comment from the same name/email identity has been approved, so that WordPress core's comment_previously_approved setting auto-approves the attacker's subsequent malicious comment. The scope change (S:C) reflects script execution in the browser context of any visitor viewing the injected page, with limited confidentiality and integrity impact and no availability impact. No EPSS score, KEV listing, or SSVC exploitation/automatable values were supplied in the input, so probabilistic and decision-framework signals cannot be weighed here; the only priority signal provided is the vuln.today 'this_month' decision label, which is consistent with a credible-but-not-emergency stored XSS. No public exploit code or PoC reference is present in the input - the references are the Wordfence advisory and WordPress plugin source/changeset links, not exploit artifacts. Net: a genuine but conditional issue warranting scheduled patching rather than emergency response.

Exploit ScenarioDerived

An attacker first posts a benign comment under a chosen name/email and waits for it to be approved once; WordPress then auto-approves their later comments. The attacker submits a follow-up comment containing a crafted script in the 'comment' parameter, which the plugin stores and renders without sufficient sanitization/escaping, so the payload executes in the browser of every visitor who loads the affected page. No public exploit code is identified in the input; the high attack complexity reflects the required prior-approval and banner-activation preconditions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Stored cross-site scripting in the Real Cookie Banner WordPress plugin through 5.4.2 allows remote unauthenticated attackers to inject arbitrary web scripts through the 'comment' parameter, which execute when a user views the injected page. Exploitation is gated by two prerequisites: the administrator must have activated the cookie banner, and a prior comment from the attacker's chosen name/email identity must already have been approved so WordPress's comment_previously_approved behavior auto-approves the malicious follow-up. This is a medium-severity issue (CVSS 5.4), no public exploit identified at time of analysis, and priority is this_month.

RemediationAI

Apply the vendor's fixed release for the Real Cookie Banner plugin; the provided intelligence lists affected versions through 5.4.2 and includes a WordPress.org changeset reference indicating an upstream fix, but it does not state an explicit fixed version number, so confirm the patched version in the Wordfence advisory before upgrading. Until the update is applied, reduce exposure by requiring moderation for all comments or disabling comments on pages where the banner is active, rather than relying on WordPress's comment_previously_approved auto-approval for previously approved name/email identities; this carries the trade-off of added moderation workload or loss of comment engagement. Deactivating the plugin removes the vulnerable code path but disables the cookie-consent banner functionality. Advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/dd9be297-a75e-4065-9c1a-fab0754a248a?source=cve.

Affected VersionsENISA

Real Cookie Banner: GDPR & ePrivacy Cookie Consent 0 ≤5.4.2

Affected Packages

euvd real_cookie_banner_gdpr_eprivacy_cookie_consent no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Real Cookie Banner is a WordPress plugin for GDPR/ePrivacy cookie consent, identified by CPE cpe:2.3:a:devowl:real_cookie_banner:_gdpr_&_eprivacy_cookie_consent:*:*:*:*:*:*:*:*. The vulnerability is CWE-79 stored cross-site scripting caused by insufficient input sanitization and output escaping of the 'comment' parameter, with references pointing to FastHtmlTag.php and Blocker.php in the 5.4.0 plugin tree. The assessed CVSS vector AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N reflects network reachability, no authentication once the prerequisites are met, no required user interaction, a scope change, and limited confidentiality/integrity impact. The high attack complexity is specifically due to two evidence-stated conditions: banner activation and a previously approved comment from the same name/email identity, after which WordPress core's default comment_previously_approved setting auto-approves subsequent comments without administrator action. The trigger details beyond those prerequisites are not described in the available sources.

Know when Real Cookie Banner gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 5.4 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Unauthenticated and network-reachable (PR:N/AV:N), but AC:H because it requires banner activation and a prior approved identity; stored XSS yields S:C with limited C/I and no A.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Real Cookie Banner: GDPR & ePrivacy Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 5.4.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that the cookie banner has been activated by the site administrator (the plugin's primary onboarding step) and that at least one prior comment from the same name and email identity has already been approved, after which WordPress core's comment_previously_approved default auto-approves subsequent comments without administrator action.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular WordPress GDPR consent plugin, common but not on every site
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy