cbcvebase.
CVE-2023-3388
published 2023-06-24

CVE-2023-3388: 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…

PriorityP279medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
84.46%
99.7th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
beautiful-cookie-bannerbeautiful_cookie_consent_banner<= 2.10.1
nikelschubertbeautiful_cookie_consent_banner<= 2.10.1

Detection & IOCsextracted from sources · hover to see the quote

url/wp-admin/admin-post.php
commandnsc_bar_activate_banner=1&nsc_bar_activate_test_banner=0&nsc_bar_content_href=%22%20style%3ddisplay%3ablock%3bcontent-visibility%3aauto%20oncontentvisibilityautostatechange%3d%22alert(document.domain)&nsc_bar_type=opt-in
  • Exploit targets the 'nsc_bar_content_href' parameter via an unauthenticated POST to /wp-admin/admin-post.php, injecting a style/event-handler XSS payload using 'oncontentvisibilityautostatechange'.
  • Unauthenticated POST requests to /wp-admin/admin-post.php with the parameter 'nsc_bar_content_href' containing URL-encoded quote/style/event-handler sequences should be flagged as exploitation attempts.
  • The attack is part of a documented large-scale XSS campaign; correlate with Wordfence threat intel for campaign-level detection.
  • ·A partial patch was released in version 2.10.1; the vulnerability is only fully remediated in 2.10.2. Installations on 2.10.1 remain exploitable.

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vulncheck7.2HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.