CVE-2026-92977 Real Cookie Banner: GDPR & ePrivacy Cookie Consent <= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via Comment

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via comments, leading to code execution when users view the page.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-92977?

CVE-2026-92977 is a high-severity cross-site scripting vulnerability in devowl Real Cookie Banner: GDPR & ePrivacy Cookie Consent, published on 3 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Real Cookie Banner: GDPR & ePrivacy Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment in all versions up to, and including, 5.3.5 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. Malicious script payloads placed in the title attribute of an anchor tag survive WordPress's comment kses filter at save time, as the payload is only promoted to executable HTML attributes when the plugin's page-wide regex strips the closing quote delimiter at render time; exploitability is therefore subject to the standard comment moderation workflow before the comment is publicly displayed.

Weakness: CWE-79

Which versions are affected by CVE-2026-92977?

How do I fix CVE-2026-92977?

No fix has been published for CVE-2026-92977 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-92977 being exploited?

There is no known exploitation of CVE-2026-92977 in the wild and no public exploit code.

Sources

Also known as GHSA-x9w3-97r6-g49g.

Is CVE-2026-92977 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free