Skip to content
OpenAdvisories
High · 7.5 CVE-2026-45090 EUVD-2026-32613GHSA-2g4x-fq3j-cgq4GO-2026-4999

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

Published May 27, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
hahwul dalfox < 2.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hahwul/dalfox <= 1.2.2 — GHSA-2g4x-fq3j-cgq4
Go github.com/hahwul/dalfox all versions — GO-2026-4999
Go github.com/hahwul/dalfox/v2 < 2.13.0 2.13.0 GHSA-2g4x-fq3j-cgq4

Advisories 1

References