Skip to content

CVE-2026-45088 Dalfox: Unauthenticated Arbitrary File Read with Out-of-Band Exfiltration via `custom-payload-file` in Dalfox Server Mode

HighCVSS 7.5 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is run in REST API server mode, the custom-payload-file field in model.Options is JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine. The engine passes the value to voltFile.ReadLinesOrLiteral, which reads lines from any file path accessible to the dalfox process and embeds each line as an XSS payload in outbound HTTP requests directed at the attacker-controlled target URL. Because the server has no API key by default, an unauthenticated network attacker can exfiltrate the contents of arbitrary files on the dalfox host by reading them line-by-line through scan traffic. This vulnerability is fixed in 2.13.0.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
hahwul dalfox(Go) < 2.13.0; <= 2.12.0; All versions 2.13.0 Partially fixed
hahwul dalfox = < 2.13.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
hahwul dalfox = < 2.13.0 No fix listed
hahwul dalfox(Go) < 2.13.0 2.13.0
hahwul dalfox(Go) All versions No fix listed
hahwul dalfox(Go) <= 2.12.0 No fix listed

References