CVE-2026-45088
HIGH 7.5CVSS 3.1Dalfox Server Mode has an Unauthenticated Arbitrary File Read with Out-of-Band Exfiltration via `custom-payload-file`
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
- 27 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-306CWE-552CWE-73
- Also known as
- GHSA-35wr-x7v6-9fv2GO-2026-5070
- Sources
- NVDJSONOSV GHSA-35wr-x7v6-9fv2JSONOSV GO-2026-5070JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/hahwul/dalfox/v2 | < 2.13.0 | 2.13.0 |
| OSV | Go | github.com/hahwul/dalfox | all versions |
References
- https://github.com/hahwul/dalfox/releases/tag/v2.13.0 · WEB
- https://github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-45088 · ADVISORY
- https://github.com/hahwul/dalfox · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 May 2026)