dalfox / reference

XSSMaze Score

XSSMaze is an intentionally vulnerable lab for measuring XSS-detection tooling. This page tracks how much of the main image (ghcr.io/hahwul/xssmaze:main) Dalfox detects. The numbers below are auto-generated by just xssmaze-score, never hand-written.

Latest score

Detection score
97.9%
1018 / 1040 exploitable endpoints detected across 174 categories
dalfox v3.3.0xssmaze v0.4.0generated 2026-11-23
Endpoints
1040
exploitable
Categories
174
test groups
Fully detected
159
categories at 100%
With gaps
15
below 100%
False positives
10
of 28 controls reported

Coverage by category

159 of 174 categories detect every endpoint. The chart highlights the 15 with gaps (worst first); the full breakdown is in the table.

cookiectx0/3 · 0.0%
jf0/1 · 0.0%
polyglot2/3 · 66.7%
stored2/3 · 66.7%
callback3/4 · 75.0%
hpp3/4 · 75.0%
noscript3/4 · 75.0%
realworld12/15 · 80.0%
edgefilter5/6 · 83.3%
storedpat5/6 · 83.3%
unicode5/6 · 83.3%
edge7/8 · 87.5%
modern28/32 · 87.5%
prototype9/10 · 90.0%
sanitizer10/11 · 90.9%
Category Endpoints Detected Verified Rate
advanced 6 6 6 100.0%
api 6 6 6 100.0%
apidom 6 6 0 100.0%
ariaattr 6 6 6 100.0%
attr 6 6 6 100.0%
attrctx 6 6 6 100.0%
attrname 4 4 4 100.0%
basic 7 7 7 100.0%
booleanattr 6 6 6 100.0%
browser 5 5 5 100.0%
bugbounty 9 9 9 100.0%
casemanip 6 6 6 100.0%
chain 6 6 6 100.0%
channel 4 4 4 100.0%
charlimit 6 6 6 100.0%
clientstate 6 6 0 100.0%
clipboard 4 4 4 100.0%
cmspattern 6 6 6 100.0%
codeexec 6 6 4 100.0%
commentinj 6 6 6 100.0%
complexpage 6 6 6 100.0%
condreflect 6 6 6 100.0%
csp 3 3 3 100.0%
cspbypass 5 5 5 100.0%
css 6 6 6 100.0%
csti 5 5 5 100.0%
ctxescape 8 8 8 100.0%
ctxv2 6 6 6 100.0%
ctype 6 6 6 100.0%
customtag 6 6 6 100.0%
dashboard 6 6 6 100.0%
dataattr 6 6 6 100.0%
dataurl 4 4 4 100.0%
dblenc 4 4 4 100.0%
decode 4 4 4 100.0%
dialog 5 5 5 100.0%
dom 37 37 0 100.0%
domctx 6 6 6 100.0%
domsink 8 8 0 100.0%
domsource 7 7 0 100.0%
doublereflect 6 6 6 100.0%
dragdrop 4 4 4 100.0%
ecommerce 6 6 6 100.0%
email 6 6 6 100.0%
embedctx 6 6 6 100.0%
encmix 5 5 5 100.0%
encoding 7 7 7 100.0%
encodingedge 6 6 6 100.0%
errhandling 6 6 6 100.0%
errpage 6 6 6 100.0%
eventhandler 5 5 5 100.0%
filterchain 8 8 8 100.0%
formaction 4 4 4 100.0%
formelement 6 6 6 100.0%
fragment 6 6 6 100.0%
fwoutput 6 6 6 100.0%
globalattr 6 6 6 100.0%
header 4 4 4 100.0%
headerinj 6 6 6 100.0%
headless 6 6 6 100.0%
hidden 9 9 7 100.0%
history 2 2 2 100.0%
html5 8 8 8 100.0%
htmlunsafe 6 6 1 100.0%
import 6 6 6 100.0%
inattr 6 6 6 100.0%
inframe 4 4 4 100.0%
injs 6 6 6 100.0%
inlinestyle 6 6 6 100.0%
inputtransform 6 6 6 100.0%
jquery 6 6 4 100.0%
jsctx 6 6 6 100.0%
jsescape 6 6 6 100.0%
json 4 4 4 100.0%
jsonctx 6 6 6 100.0%
latereflect 6 6 6 100.0%
linkcontext 6 6 6 100.0%
listiteration 6 6 6 100.0%
manifest 1 1 1 100.0%
markdown 6 6 6 100.0%
mathml 3 3 3 100.0%
mediacontext 6 6 6 100.0%
metarefresh 3 3 3 100.0%
microdata 6 6 6 100.0%
misc 6 6 6 100.0%
mixedmethod 6 6 6 100.0%
mobserver 4 4 4 100.0%
multicontext 6 6 6 100.0%
multiline 6 6 6 100.0%
multiparam 6 6 6 100.0%
multipart 4 4 4 100.0%
multipleoutput 6 6 5 100.0%
multireflect 8 8 8 100.0%
multivector 6 6 6 100.0%
mutfilter 5 5 5 100.0%
mxss 5 5 5 100.0%
navsink 6 6 2 100.0%
nestedctx 6 6 6 100.0%
nestedfilter 6 6 6 100.0%
nonce 3 3 3 100.0%
numericcontext 6 6 6 100.0%
obfuscation 6 6 6 100.0%
opener 2 2 2 100.0%
partialencode 6 6 6 100.0%
path 4 4 4 100.0%
pathxss 6 6 6 100.0%
payloadfilt 6 6 6 100.0%
pdiff 6 6 6 100.0%
polyctx 6 6 6 100.0%
popover 3 3 3 100.0%
post 2 2 2 100.0%
postmethod 6 6 6 100.0%
querymethod 5 5 0 100.0%
racecon 4 4 4 100.0%
realworld_input 7 7 7 100.0%
recfilt 6 6 6 100.0%
redirectxss 6 6 6 100.0%
referrer 2 2 0 100.0%
regexbypass 8 8 8 100.0%
regexfilt 6 6 6 100.0%
reparse 5 5 0 100.0%
replacementfilter 6 6 6 100.0%
respheader 6 6 6 100.0%
rsplit 4 4 4 100.0%
rwpattern 6 6 6 100.0%
scanbounty 8 8 8 100.0%
scriptgadget 6 6 6 100.0%
semantictag 6 6 6 100.0%
seoctx 6 6 6 100.0%
service 2 2 2 100.0%
shadow 5 5 5 100.0%
sink 8 8 8 100.0%
slot 4 4 4 100.0%
social 6 6 6 100.0%
specialchar 6 6 6 100.0%
specialtag 8 8 8 100.0%
srcdoc 5 5 4 100.0%
srcset 4 4 4 100.0%
storage 2 2 2 100.0%
stream 3 3 3 100.0%
svg 6 6 6 100.0%
svgctx 6 6 6 100.0%
tablecontext 6 6 6 100.0%
tagattrmix 6 6 6 100.0%
taintflow 8 8 0 100.0%
template 6 6 6 100.0%
timing 6 6 6 100.0%
tplel 4 4 4 100.0%
tplinject 6 6 6 100.0%
truncation 6 6 5 100.0%
trustedtypes 5 5 5 100.0%
url 6 6 6 100.0%
waf 14 14 13 100.0%
wafv2 6 6 6 100.0%
websocket 7 7 7 100.0%
whitespace 6 6 6 100.0%
worker 4 4 4 100.0%
wrappercontext 6 6 6 100.0%
xmlctx 6 6 6 100.0%
sanitizer 11 10 10 90.9%
prototype 10 9 9 90.0%
edge 8 7 7 87.5%
modern 32 28 21 87.5%
edgefilter 6 5 5 83.3%
storedpat 6 5 4 83.3%
unicode 6 5 5 83.3%
realworld 15 12 11 80.0%
callback 4 3 3 75.0%
hpp 4 3 3 75.0%
noscript 4 3 3 75.0%
polyglot 3 2 2 66.7%
stored 3 2 1 66.7%
cookiectx 3 0 0 0.0%
jf 1 0 0 0.0%
Total 1040 1018 905 97.9%

Controls

28 endpoints are controls: a reflection the lab knows to be inert. They are left out of the score above, and a finding on one is a false positive. Dalfox reports 10: csp-bypass-level3, csp-bypass-level4, cspbypass-level3, metarefresh-level2, nonce-level2, realworld_input-level4, redirect-level1, redirect-level2, redirect-level3, redirect-level4.

Generated 2026-11-23T15:40:08Z · image ghcr.io/hahwul/xssmaze:main (ghcr.io/hahwul/xssmaze@sha256:2788f75f03e3423b9cd351769d1b27274fe22a8d82942150b894ce9879667f70) · run just xssmaze-score to refresh.

Methodology

  • Targets: every endpoint returned by XSSMaze's /map/json, grouped by its catalog type (category).
  • Exploitable and controls: the catalog marks each endpoint exploitable or not. Only exploitable endpoints count toward the score. The rest are controls, a reflection the lab knows to be inert, and a finding on one is a false positive; they are listed in their own section.
  • Per-endpoint scan: Dalfox scans the endpoint URL with parameter mining disabled (--skip-mining), --timeout 7 and --scan-timeout 40. Every query parameter the catalog declares is present in the URL (missing ones are added with a placeholder value), header injection points are targeted with -p <name>:header, and POST bodies are seeded with -d (sent as a form first, retried as JSON only if the form pass finds nothing). Discovery and reflection checks stay on, so Dalfox finds the real injection point itself and path cases still resolve. The catalog's parameter names are only hints.
  • Detected: an endpoint counts as detected when Dalfox returns at least one finding of any type (V, R, or A) or exits 1.
  • Verified: the subset where Dalfox found the payload in an executable position in the parsed DOM (finding type V). This is not browser execution; see Detection Model.
  • Rate: detected / endpoints over exploitable endpoints, per category and overall.
  • Unreliable scans: a scan that finds nothing is not trusted when Dalfox exited with an error, wrote no report, was cut short, or lost at least half of its requests. That is what a scan looks like when the lab or the machine is overloaded, not what a miss looks like. It is retried after 5, 20 and 60 seconds. If any endpoint is still unreliable at the end, no snapshot is written (XSSMAZE_ALLOW_UNRELIABLE=1 writes it anyway and records those endpoints as not detected).

Each snapshot is pinned to the Dalfox version that produced it and the exact XSSMaze image digest, both shown beneath the table. The raw data lives in docs/data/xssmaze-score.json.

Reading the numbers

A high rate in a category means Dalfox reliably finds those sinks. A low rate marks contexts worth working on next. Each scan targets a known endpoint and skips mining, so the score measures detection and verification, not parameter discovery. The functional test suite covers discovery separately. Scores change as Dalfox and XSSMaze change, so read them together with the versions stamped under the table.

ESC