← Vulnerability feed

Vulnerability record · CVE-2023-3388 · published 24 June 2023

CVE-2023-3388: WordPress Beautiful Cookie Consent Banner stored XSS via href parameter

Beautiful Cookie Banner · Beautiful Cookie Consent Banner

The Beautiful Cookie Consent Banner plugin for WordPress fails to sanitize and escape the 'nsc_bar_content_href' parameter, allowing stored cross-site scripting in versions up to and including 2.10.1. Injected scripts persist in pages and execute for any visitor, so the flaw matters for any site running the affected plugin. A partial fix landed in 2.10.1 and a full fix in 2.10.2.

6.1 CVSS 3.1 Medium EPSS 84% · top 0.3% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
84%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

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 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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityThe flaw is remotely reachable, has a full patch available, and shows very high EPSS with a referenced large-scale exploitation campaign despite no KEV listing.

What it is

The Beautiful Cookie Consent Banner plugin for WordPress fails to sanitize and escape the 'nsc_bar_content_href' parameter, allowing stored cross-site scripting in versions up to and including 2.10.1. Injected scripts persist in pages and execute for any visitor, so the flaw matters for any site running the affected plugin. A partial fix landed in 2.10.1 and a full fix in 2.10.2.

Impact

An attacker can run arbitrary JavaScript in the browser of any user viewing an injected page, enabling session theft, credential phishing, or page defacement in the context of the vulnerable site.

Attack surface

Reachable over the network through the plugin's cookie banner content parameter; the CVSS vector shows no privileges required but user interaction is required for the payload to execute in a victim's browser.

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.843 (99.7th percentile), and a third-party advisory references a large-scale XSS campaign, indicating active exploitation in the wild.

What to do

  • Update Beautiful Cookie Consent Banner to 2.10.2 or later immediately.
  • If patching is not possible, disable or remove the plugin until it can be updated.
  • Deploy a WAF rule blocking script injection through the nsc_bar_content_href parameter.
  • Audit stored banner content and database rows for injected script payloads and clean them.
  • Restrict or monitor who can modify cookie banner settings.

Detection

  • Search the WordPress database and plugin settings for script tags or event handlers in nsc_bar_content_href values.
  • Monitor web logs and WAF alerts for requests containing script payloads targeting the cookie banner parameter.
  • Review pages rendering the cookie banner for unexpected inline JavaScript or external script loads.
  • Check for unusual admin or session activity on sites running the affected plugin.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-3388 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

4.8CVE-2022-3823Beautiful-cookie-banner beautiful cookie consent banner vulnerabilityThe Beautiful Cookie Consent Banner WordPress plugin before 2.9.1 does not sanitise and escape some of its settings, which could allow high privilege…EPSS 0.47%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed6.1CVE-2025-66376Zimbra Collaboration Classic UI stored XSS via CSS @import in emailZimbra Collaboration Suite 10 before 10.0.18 and 10.1 before 10.1.13 allows stored cross-site scripting in the Classic UI through CSS @import directi…KEVEPSS 20%analysed6.1CVE-2025-68461Roundcube Webmail XSS via SVG animate tagRoundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is vulnerable to cross-site scripting through the animate tag in an SVG document. Because the f…KEVEPSS 27%analysed10.0CVE-2026-22769Dell RecoverPoint for Virtual Machines hardcoded credential flawDell RecoverPoint for Virtual Machines versions prior to 6.0.3.1 HF1 contain a hardcoded credential vulnerability (CWE-798). An unauthenticated remot…KEVEPSS 13%analysed7.1CVE-2025-14611Gladinet CentreStack and Triofox hardcoded AES key enables file inclusionCentreStack and Triofox before 16.12.10420.56791 use hardcoded values in their AES cryptoscheme, weakening protection for publicly exposed endpoints.…KEVEPSS 53%analysed5.4CVE-2021-26829OpenPLC ScadaBR stored XSS via system_settings.shtmOpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored cross-site scripting through system_settings.shtm. Because the inj…KEVEPSS 48%analysed

Source: NIST National Vulnerability Database (record CVE-2023-3388), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.