CVE-2026-45088
HighSummary
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.
Risk Assessment
An attacker could access sensitive data stored in files on the dalfox host, posing a serious security threat to the organization.
Recommendation
It is recommended to update dalfox to version 2.13.0 or later to eliminate this vulnerability and implement appropriate security measures such as API authorization.
Other vulnerabilities in Dalfox
See all- CVE-2026-45090High
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.
- 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-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, 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.

