Comprehensive example of Cross Site Scripting(XSS) attack.Let’s say a web page has a comment section and users can leave comment on the page. A bad user leave comment on the site and it’s text is <script> alert(‘You’re hacked’) </script> It’s stored in the server database. When another user visit the page, the text is sent …
