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.
Description as published by the source, in English.
Key facts
Published
2026-05-27
Last modified
2026-10-26
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.3 %
higher than 17 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
The product allows user input to control or influence paths or file names that are used in filesystem operations.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1003: OS Credential Dumping credential-access
T1027: Obfuscated Files or Information stealth
T1039: Data from Network Shared Drive collection
T1119: Automated Collection collection
T1213: Data from Information Repositories collection
T1530: Data from Cloud Storage collection
T1552.001: Credentials In Files credential-access
T1552.003: Shell History credential-access
T1552.004: Private Keys credential-access
T1552.006: Group Policy Preferences credential-access
T1555: Credentials from Password Stores credential-access