About 297 results
Open links in new tab
  1. What is DOM-based XSS (cross-site scripting)? Tutorial & Examples

    In this section, we'll describe DOM-based cross-site scripting (DOM XSS), explain how to find DOM XSS vulnerabilities, and talk about how to exploit DOM XSS with different sources and sinks.

  2. DOM-based vulnerabilities | Web Security Academy - PortSwigger

    The following list provides a quick overview of common DOM-based vulnerabilities and an example of a sink that can lead to each one. For a more comprehensive list of relevant sinks, please refer to the …

  3. What is cross-site scripting (XSS) and how to prevent it? | Web ...

    DOM-based XSS (also known as DOM XSS) arises when an application contains some client-side JavaScript that processes data from an untrusted source in an unsafe way, usually by writing the …

  4. Cross-site scripting (DOM-based) - PortSwigger

    Description: Cross-site scripting (DOM-based) DOM-based vulnerabilities arise when a client-side script reads data from a controllable part of the DOM (for example, the URL) and processes this data in an …

  5. Lab: Reflected DOM XSS | Web Security Academy - PortSwigger

    Back in the lab, go to the target website and use the search bar to search for a random test string, such as "XSS". Return to the Proxy tool in Burp Suite and forward the request. On the Intercept tab, notice …

  6. Cross-site scripting (XSS) cheat sheet - PortSwigger

    Interactive cross-site scripting (XSS) cheat sheet for 2025, brought to you by PortSwigger. Actively maintained, and regularly updated with new vectors.

  7. Testing for DOM XSS with DOM Invader - PortSwigger

    Dec 16, 2025 · DOM-based XSS (DOM XSS) arises when an application contains client-side JavaScript that processes data from an untrusted source in an unsafe way, usually by writing the data back to …

  8. Lab: DOM XSS in document.write sink using source location.search

    This lab contains a DOM-based cross-site scripting vulnerability in the search query tracking functionality. It uses the JavaScript document.write function, which writes data out to the page.

  9. Lab: DOM XSS in innerHTML sink using source location.search | Web ...

    This lab contains a DOM-based cross-site scripting vulnerability in the search blog functionality. It uses an innerHTML assignment, which changes the HTML contents of a div element, using data from …

  10. Testing for DOM XSS - PortSwigger

    Dec 16, 2025 · This information enables you to easily see the XSS context and test which characters and events you need to craft an exploit. In the following example, we've successfully broken out of …