CVE-2026-119177 - Real Cookie Banner: GDPR & ePrivacy Cookie Consent <= 5.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Regex Boundary Consumption

Vulnerability · Reported by NVD · · CWE-79

Severity
Medium Risk score 54/100
CVSS
5.4 v3.1 · from NVD
Exploit chance (EPSS)
0.36% Higher than 22% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

This is a cross-site scripting (XSS) flaw (CWE-79). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first. The impact can spread beyond the vulnerable component to other parts of the system.

Is it being exploited?

The EPSS model estimates a 0.36% chance this CVE will be exploited in the next 30 days, which is low and higher than 22% of all published CVEs.

Patch priority and what to do

Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-119177

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.