JSON from fetch

This page fetches profile.php and reads it with Response.json(). The bio goes into innerHTML, the website into a link's href (with setAttribute), and the name only into textContent. Instrument profile.bio, profile.website and profile.name: the first two reach sinks, the name doesn't.

  1. In DOM Invader's popup, set the canary to burpdomxss, turn on Record JSON and XML (in Other), then reload this page.
  2. In the devtools panel's Data tab, pick the record below, tick the properties to test, and choose Instrument selected.
  3. Reload. The Data tab's Instrumented on this site list shows the sinks each property reached, and "passed" appears here.

Website