CVE-2026-45088

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGithub.com/hahwul/dalfox/v2
PublishedMay 27, 2026
First seenMay 27, 2026

How to fix

Update
  • github.com/hahwul/dalfox/v22.13.0 or later

Affected products

ProductAffected versionsFixed in
github.com/hahwul/dalfox/v2Gov < 2.13.02.13.0
github.com/hahwul/dalfoxGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.