An Active Scan rule for detecting DOM XSS vulnerabilities.
It launches browser windows and sends attack payloads to all of the relevant DOM elements.
As it launches browser windows it will take significantly longer than other (non browser based) rules.
This version supports Firefox (the default) and Chrome. They can be run with GUI or headless (default), it can be changed with
rules.domxss.browserid, via the Options ‘Rule configuration’ panel, with values
The following Attack Strengths are supported, and related directly to the number of attack payloads used
for URL fragment and form input field injections (eg:
The scanner will also attempt URL/query parameter injections which are not impacted by the selected strength.
The rule will only report one DOM XSS vulnerability per node, unless the LOW Alert threshold is used, in which case it will keep trying all of the specified payloads.
Latest code: DomXssScanRule.java