Home

Description

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.

PUBLISHED Reserved 2026-05-08 | Published 2026-05-27 | Updated 2026-05-28 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-404: Improper Resource Shutdown or Release

Product status

< 2.13.0
affected

References

github.com/...dalfox/security/advisories/GHSA-2g4x-fq3j-cgq4 exploit

github.com/...dalfox/security/advisories/GHSA-2g4x-fq3j-cgq4

github.com/hahwul/dalfox/releases/tag/v2.13.0

cve.org (CVE-2026-45090)

nvd.nist.gov (CVE-2026-45090)

Download JSON