CVE-2026-45088 Details
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.
A vulnerability in Dalfox versions prior to 2.13.0 allows for unauthenticated arbitrary file read when the application is run in REST API server mode. The issue arises because the 'custom-payload-file' option is deserialized directly from the request body without proper sanitization. This attacker-controlled file path is then used to read lines from any accessible file on the Dalfox host. The contents are exfiltrated as XSS payloads in outgoing HTTP requests to the target URL, effectively allowing the attacker to steal sensitive files such as SSH keys, configuration files, and more.
Upgrade to Dalfox version 2.13.0 or later, and if running the server in REST mode, ensure to use the '--api-key' option to enable authentication.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/hahwul/dalfox/releases/tag/v2.13.0 | [email protected] | Release NotesVendor |
| https://github.com/hahwul/dalfox/security/advisories/GHSA-35wr-x7v6-9fv2 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-552 | Files or Directories Accessible to External Parties | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dalfox | <= 2.12.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion