{"id":"CVE-2026-45090","published":"2026-05-27T17:33:06Z","modified":"2026-05-28T15:11:11Z","title":"Dalfox: Unauthenticated Remote DoS via Closed-Channel Write in `ParameterAnalysis` (server mode)","vendor":"hahwul","product":"dalfox","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0037,"percentile":0.22994,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"references":[{"url":"https://github.com/hahwul/dalfox/security/advisories/GHSA-2g4x-fq3j-cgq4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hahwul/dalfox/releases/tag/v2.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.6},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hahwul","affectedVersions":[{"vendor":"hahwul","product":"dalfox","versions":["< 2.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-28T15:10:33.002780Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hahwul/dalfox/v2","vulnerableRanges":["<2.13.0"],"patched":["2.13.0"],"from":["GHSA-2g4x-fq3j-cgq4","GO-2026-4999"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hahwul/dalfox","vulnerableRanges":["<=1.2.2","all versions"],"patched":[],"from":["GHSA-2g4x-fq3j-cgq4","GO-2026-4999"],"provenance":"source"}],"summary":{"text":"Dalfox, an open-source XSS scanner, has a flaw in the ParameterAnalysis component (pkg/scanning/parameterAnalysis.go) where a second worker stage writes to a results channel that was already closed by the first stage, causing a runtime panic that crashes the dalfox process. An unauthenticated remote attacker who can reach the REST API of a dalfox instance running in server mode can trigger the crash by supplying a data field and targeting a page that reflects at least one parameter, using the default configuration with no API key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:29Z"},"euvd":{"id":"EUVD-2026-32613","exploited":false,"provenance":"source"}}