CVE-2026-45090
HighSummary
Dalfox, an XSS scanning tool, has a vulnerability prior to version 2.13.0 that causes a runtime panic due to the use of a closed results channel. This bug can lead to the entire Dalfox process crashing.
Risk Assessment
This vulnerability can be remotely exploited by unauthorized users, leading to a crash of the Dalfox server when running in server mode. The default configuration does not require an API key, increasing the risk.
Recommendation
It is recommended to update Dalfox to version 2.13.0 or later to mitigate this vulnerability. Additionally, consider implementing API authorization to enhance security.
Other vulnerabilities in Dalfox
See all- CVE-2026-45089High
Dalfox, an XSS scanning tool, prior to version 2.13.0, allowed unauthorized users to write logs to any file on the filesystem when running in API server mode.
- CVE-2026-45088High
Dalfox, an XSS scanning tool, prior to version 2.13.0, allowed deserialization of malicious JSON payloads from the attacker's request body, enabling the leakage of arbitrary file contents from the server. These values were then used as XSS payloads in HTTP requests.
- CVE-2026-45087Critical
Dalfox, an XSS scanning tool, prior to version 2.13.0, allowed arbitrary shell command execution by unauthorized users when the server was run in REST API mode. The issue stemmed from the deserialization of attacker-supplied JSON data, enabling command execution on the host.
Original NVD description (English source)
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.

