CVE-2026-119177Real Cookie Banner: GDPR & ePrivacy Cookie Consent <= 5.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Regex Boundary Consumption
- 5.4MediumCVSS base score
- —Exploitation in 30 daysno EPSS score yet
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Wordfence
- 23 days later
· 23 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| WordfenceCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- Not scored
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Affected products
devowl · Real Cookie Banner: GDPR & ePrivacy Cookie Consent
- affected ≤ 5.4.2
References
References6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dd9be297-a75e-4065-9c1a-fab0754a248a?source=cve (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.4.0/vendor/devowl-wp/fast-html-tag/src/FastHtmlTag.php#L180 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.4.0/inc/view/Blocker.php#L173 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.4.0/vendor/devowl-wp/fast-html-tag/src/FastHtmlTag.php#L165 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/real-cookie-banner/tags/5.4.0/inc/view/Blocker.php#L213 (opens in a new tab)
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3796001%40real-cookie-banner&new=3796001%40real-cookie-banner (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-119177)Record last updated .