Exploiting XSS
XSS is a type of attack that executes and injects arbitrary JavaScript from an untrusted source in the context of a trusted website. XSS attacks occur when an attacker discovers a vulnerable parameter within a web application that executes dynamic content without validating or output encoding characters before rendering content back to the user. XSS attacks utilize the browser's to transport attack payloads since the browser believes the code is trusted. There are three types of XSS vulnerabilities: reflective (most common), stored, and DOM-based. Reflective XSS vulnerabilities arise when parameter data is copied and echoed back into the application's response without sanitizing its content. Stored XSS vulnerabilities arise ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access