Burp DOM Scanner: scan the webpage for DOM-based XSS

DOM-based XSS scanner

Burp DOM Scanner

It’s a Burp Suite extension to allow for recursive crawling and scanning of Single Page Applications.
It runs a Chromium browser to scan the webpage for DOM-based XSS.
It can also collect all the requests (XHR, fetch, websockets, etc) issued during the crawling allowing them to be forwarded to Burp’s Proxy, Repeater, and Intruder.

It requires node and DOMDig.

Installation

  1. Install node
  2. Install DOMDig
  3. Download and load the extension
  4. Set both the path of the node‘s executable and the path of domdig.js in the extension’s UI.

Scanning Engine

Burp DOM Scanner uses DOMDig as the crawling and scanning engine.

DOMDig

DOMDig is a DOM XSS scanner that runs inside the Chromium web browser and it can scan single page applications (SPA) recursively. Unlike other scanners, DOMDig can crawl any webapplication (including gmail) by keeping track of DOM modifications and XHR/fetch/websocket requests and it can simulate a real user interaction by firing events. During this process, XSS payloads are put into input fields and their execution is tracked in order to find injection points and the related URL modifications.

Usage and Details

Details about usage performed checks, and reported vulnerabilities can be found on DOMDig’s page.

Copyright (C) 2023 fcavallarin