Hello friends and students so this is the first video of our series Web For Pentesters Virtual Penetration Testing Lab and in this article i will be covering Example 1 from the virtual lab. It is a very simple and typical type of xss.
Here are all the other Examples Of Cross Site Scripting .
Cross-Site Scripting (XSS) attacks occur when:
- Data enters a Web application through an untrusted source, most frequently a web request.
- The data is included in dynamic content that is sent to a web user without being validated for malicious content.
Here is the example :-
Now what is happening here is the data provided in the name paramenter of the example will be displayed exactly the same in the web page and is not being verified what kind of data is being sent so it leads to a Cross Site Scripting attack.
and this payload will show the domain in the alert box.
Here is the video of the example.
Thanks and do tell if you liked it and do share it really helps us.