Home

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.

PUBLISHED Reserved 2026-05-08 | Published 2026-05-27 | Updated 2026-05-27 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-73: External Control of File Name or Path

CWE-306: Missing Authentication for Critical Function

CWE-552: Files or Directories Accessible to External Parties

Product status

< 2.13.0
affected

References

github.com/...dalfox/security/advisories/GHSA-35wr-x7v6-9fv2 exploit

github.com/...dalfox/security/advisories/GHSA-35wr-x7v6-9fv2

github.com/hahwul/dalfox/releases/tag/v2.13.0

cve.org (CVE-2026-45088)

nvd.nist.gov (CVE-2026-45088)

Download JSON