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

7.2
Improper Neutralization of Input During Web Page Generation
CVE CVE-2026-92977
CVSS 7.2 (High)
Publicly Published October 2, 2026
Last Updated October 3, 2026
Researcher Pham Duc Anh

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Real Cookie Banner: GDPR & ePrivacy Cookie Consent

Software Type Plugin
Software Slug real-cookie-banner (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.3.6, or a newer patched version
Affected Version
  • <= 5.3.5
Patched Version
  • 5.3.6

Recent vulnerabilities in Real Cookie Banner: GDPR & ePrivacy Cookie Consent

# Title CVE ID CVSS Researchers Date
1 Real Cookie Banner: GDPR & ePrivacy Cookie Consent <= 5.2.4 - Authenticated (Admin+) Server-Side Request Forgery via scan-without-login Endpoint CVE-2025-12136 6.8 SpiderSec October 23, 2025
2 Real Cookie Banner: GDPR & ePrivacy Cookie Consent <= 5.1.5 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2025-1485 4.4 Krugov Artyom May 12, 2025
3 Real Cookie Banner <= 3.4.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2022-4507 6.4 István Márton December 23, 2022
4 Real Cookie Banner <= 2.18.1 - Reflected Cross-Site Scripting 6.1 WPScanTeam June 14, 2022
5 WordPress Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent < 2.14.2 - Cross-Site Request Forgery CVE-2022-0445 6.5 Krzysztof Zając February 7, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation