---
id: CVE-2026-92977
title: >-
  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
summary: >-
  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. …
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: devowl
product: 'Real Cookie Banner: GDPR & ePrivacy Cookie Consent'
affected:
  - real_cookie_banner_gdpr_eprivacy_cookie_consent <= 5.3.5
published: '2026-10-03'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T04:18:04.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92977'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.3.0/inc/view/Blocker.php#L213
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.3.0/inc/view/Blocker.php#L233
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.3.0/vendor/devowl-wp/fast-html-tag/src/FastHtmlTag.php#L166
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3710645%40real-cookie-banner&new=3710645%40real-cookie-banner
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/32fbba37-208c-4e94-8d07-f3fd14ee2ee1?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-03T03:38:16.257Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
