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
the rule rules.domxss.browserid, via the Options 'Rule configuration' panel, with values
firefox, firefox-headless, chrome and chrome-headless.
http://example.com/index.html?foo=bar#injection):
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