Skip to content

What I'm doing wrong? dalfox was unable to detect XSS in vulnweb.com #821

@highchoice

Description

@highchoice

Question

I'm testing Dalfox against the Angular app testhtml5.vulnweb.com without success.

Environment

  • Dalfox Version: 2.12.0
  • Installed from: go-get

Parameter "url=" is vulnerable to XSS with payload "javascript:alert()"

http://testhtml5.vulnweb.com/#/redir?url=javascript:alert()

1 attempt:
dalfox url http://testhtml5.vulnweb.com/#/redir?url=
...
[duration: 9.023743225s][issues: 0] Finish Scan!

2 attempt
dalfox url http://testhtml5.vulnweb.com/#/redir?url= --deep-domxss
...
[500/703 Queries][71.12%] Testing "/redir?url" param and waiting headless <-- looks like fragment # is a problem.
...
[duration: 9.023743225s][issues: 0] Finish Scan!

3 attempt
dalfox url http://testhtml5.vulnweb.com/#/redir?url= --deep-domxss -p url --custom-payload testxss.txt --only-custom-payload

🎯  Target                 http://testhtml5.vulnweb.com/#/redir?url=
 🏁  Method                 GET
 🖥   Performance            100 worker / 1 cpu
 ⛏   Mining                 true (Gf-Patterns, DOM Mining Enabled)
 ⏱   Timeout                10
 📤  FollowRedirect         false
 🕰   Started at             2025-10-04 16:35:16

[*] -------------------------------------------------------------------------------------------------------------------
[*] Starting scan [SID:Single] / URL: http://testhtml5.vulnweb.com/#/redir?url=
[I] Found 19 testing points in DOM-based parameter mining
[I] Content-Type is text/html; charset=utf-8
[I] Access-Control-Allow-Origin is *
[*] -------------------------------------------------------------------------------------------------------------------
[*] [duration: 2.805039063s][issues: 0] Finish Scan!

testxss.txt contains payloads like "javascript:alert()"
BUT I'm not even sure if Dalfox processes a custom payloads from file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedv3-fixedFixed in v3/rust version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions