Home / Companies / Detectify / Blog / Post Details
Content Deep Dive

What are the different types of XSS?

Blog post from Detectify

Post Details
Company
Date Published
Author
Detectify
Word Count
652
Language
-
Hacker News Points
-
Summary

Cross-site scripting (XSS) is a vulnerability that occurs when attackers inject malicious JavaScript into a website, affecting its visitors by potentially accessing their cookies and sensitive information or altering the content they see. The text explores three types of XSS attacks: Reflected XSS, where the payload is reflected in the server's response and often requires tricking users into clicking a malicious link; Stored or Persistent XSS, where the payload is saved on the website, allowing it to affect users without needing them to click a specific link; and DOM XSS, where the attack is executed through the manipulation of the Document Object Model by existing JavaScript on the page, sometimes requiring a specific link to exploit but potentially having an impact similar to Persistent XSS if triggered by server actions. The text emphasizes the importance of scanning for vulnerabilities like XSS using tools such as Detectify, which offers a free trial to assess website security.