CVE-2026-45089
HighSummary
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.
Risk Assessment
The organization may be exposed to unauthorized access to the filesystem, potentially leading to data loss or the introduction of malicious code.
Recommendation
It is recommended to upgrade Dalfox to version 2.13.0 to eliminate this vulnerability and implement appropriate security measures in the API configuration.
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-45088High
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.
- 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 output, output-all, and debug fields in model.Options are JSON-tagged and deserialized directly from the attacker's request body, then propagated unchanged through dalfox.Initialize into the scan engine's logging path. The logger opens the attacker-supplied path with os.O_APPEND|os.O_CREATE|os.O_WRONLY and writes scan log lines to it. Critically, this file write block lives outside the IsLibrary guard in DalLog, so it executes even in server/library mode where file output was never intended to operate. Because no API key is required in the default configuration, an unauthenticated network caller can create or append to any file writable by the dalfox process on the host filesystem. This vulnerability is fixed in 2.13.0.

