CVE-2023-3388
Published: 24 June 2023
Summary
CVE-2023-3388 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Beautiful-Cookie-Banner Beautiful Cookie Consent Banner. Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Beautiful Cookie Consent Banner plugin for WordPress is affected by a stored cross-site scripting vulnerability in versions up to and including 2.10.1. The flaw exists in the 'nsc_bar_content_href' parameter due to insufficient input sanitization and output escaping, allowing injection of arbitrary scripts that execute in the context of any user who later views an affected page. It carries a CVSS 3.1 score of 7.2 and is tracked under CWE-79.
Unauthenticated attackers can exploit the issue remotely over the network without any user interaction or privileges, enabling them to achieve persistent script execution that could lead to session hijacking, credential theft, or other client-side attacks within the WordPress site.
References from Wordfence and WordPress plugin trac note that a partial fix appeared in 2.10.1 and the vulnerability was fully addressed in 2.10.2; Wordfence also reported blocking an associated large-scale XSS campaign targeting the plugin. The EPSS score peaked at 0.7668 on 2025-12-11 before receding to the current value of 0.6572.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-44055
Vulnerability details
The Beautiful Cookie Consent Banner for WordPress is vulnerable to Stored Cross-Site Scripting via the 'nsc_bar_content_href' parameter in versions up to, and including, 2.10.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to…
more
inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A partial patch was made available in 2.10.1 and the issue was fully patched in 2.10.2.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.