XSS top web attacks

XSS is one of the top web attacks. There are many interesting “incidents” reported on the Internet. This
assignment asks you to find (or construct) and analyze one XSS attack example and share your understanding
of this common vulnerability in web-based applications.
Tasks
Please submit one original post using the following guidelines:
Describe your XSS attack example (real or fictional). You could make assumptions to warrant the success of
your exploitation if fictional.
Discuss the possible consequences due to the existence of this vulnerability in your example.
Present one way to protect the web application in your example.

Sample Solution