XSS - Cross Site Scripting
Penetrating testing with Yogesh and Abhinav
AGENDA
"An XSS attack occurs when a script from an untrusted source is executed in rendering a page" [*]
"Cross-Site Scripting attacks are a type of injection problem, in which malicious scripts are injected into the otherwise benign and trusted web sites"
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
According to OWASP Top 10 2017, XSS is at #7
According to HackerOne --
How the malicious JavaScript is injected?
The consequences of malicious JavaScript
Mission Objective
Inject a script to pop up a JavaScript alert() in the below URL
<script>alert("123")</script>
XSS Vector
Mission Objective
Inject a script to pop up an alert() in the context of the application.
Note: the application saves your posts so if you sneak in code to execute the alert, this level will be solved every time you reload it.