Cross Site Scripting Security Vulnerability

Description
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

Acunetix Web Application Security Blog

Latest Article

Web Server Security and Database Server Security

Latest Whitepaper

Why File Upload Forms are a major security threat

Testimonials

“The issues detected were of major impact; if hackers would have found the security holes, they could have hacked an entire Joomla! Site.”

Robin Muilvijk
Quality & Testing Team, Joomla!