Skip to main content
← All vulnerabilities
CVE-2026-45090GO-2026-4999GHSA-2G4X-FQ3J-CGQ4

Dalfox: Unauthenticated Remote DoS via Closed-Channel Write in `ParameterAnalysis` (server mode)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.13.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, ParameterAnalysis in pkg/scanning/parameterAnalysis.go runs two sequential worker stages that both write to the same results channel. The channel is correctly closed after the first stage completes (close(results) at line 438), but the second stage — which processes POST-body parameters (dp) — is then launched with the same already-closed channel as its output. When a scanned parameter is reflected, processParams executes results <- paramResult on the closed channel, triggering a Go runtime panic that crashes the entire dalfox process. In server mode, the crash is remotely triggerable by any unauthenticated caller who can reach the REST API, because the default configuration has no API key and the second stage activates whenever options.Data != "" (i.e., the attacker supplies the data field) and the target reflects at least one parameter. This vulnerability is fixed in 2.13.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • hahwul dalfox

    fixed in 2.13.0

  • github.com/hahwul/dalfoxGo

    All versions

  • github.com/hahwul/dalfox/v2Go

    fixed in 2.13.0

  • github.com/hahwul/dalfoxGo

    through 1.2.2

References 2

GitHub · hahwul/dalfox