Cross Site Scripting Security Vulnerability

Description
This script is possibly vulnerable to Cross Site Scripting (XSS) attacks.
Cross site scripting (also referred to as XSS) is a vulnerability that allows an attacker to send malicious code (usually in the form of Javascript) to another user.Because a browser cannot know if the script should be trusted or not, it will execute the script in the user context allowing the attacker to access any cookies or session tokens retained by the browser.

Impact
Malicious users may inject JavaScript, VBScript, ActiveX, HTML or Flash into a vulnerable application to fool a user in order to gather data from them.An attacker can steal the session cookie and take over the account, impersonating the user.It is also possible to modify the content of the page presented to the user.

References
Acunetix Cross Site Scripting Attack
Security Focus - Penetration Testing for Web Applications (Part Two)
The Cross Site Scripting Faq
OWASP Cross Site Scripting
XSS Annihilation
XSS cheat sheet
PHP XSS (cross site scripting) filter function
Cross site scripting
OWASP PHP Top 5
ASP.NET Unicode Character Conversion XSS
Microsoft ASP.NET request filtering flaw

View entire list of over 400 known Web Application Vulnerabilities and the specific technologies which they target. See Web Vulnerabilities in popular applications such as: WordPress, Tiki Wiki, PHPNuke, PHPMyAdmin, phpBB, Mambo, PHP-Fusion, Mantis, Invision Power Board

Get latest new web vulnerabilities via RSS