Following OWASP TOP 10 (the top ten most critical web application security risk) I decided to build an XSS Scanner.