What’s Vulnerable › Vulnerabilities
CVE-2022-4507: Real Cookie Banner < 3.4.10 - Contributor+ Stored XSS
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-16 · updated 2026-06-17
Description
The Real Cookie Banner WordPress plugin before 3.4.10 does not validate and escapes some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as a contributor to perform Stored Cross-Site Scripting attacks against logged-in admins.
Affected products
- WordPress Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent: before 3.4.10 — fixed in 3.4.10
How to fix
Upgrade to a fixed version: WordPress Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent 3.4.10. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/93c61a70-5624-4c4d-ac3a-c598aec4f8b6
- https://wpscan.com/vulnerability/93c61a70-5624-4c4d-ac3a-c598aec4f8b6
Get alerted when CVE-2022-4507 or the next vulnerability affects your stack