Possible Duplicate:
Can anybody explain XSS to an idiot?
First I ask is there an aboslute definition? I've done some Googleing and it seems like everyone says something different.
On SO one person says
An XSS vulnerability exists whenever a string from outside your application can be interpreted as code.
This sounds similar to a SQL injection but it attacks the web server, not the user?
Another
Cross Site Scripting basically is a security vulnerability of dynamic web pages where an attacker can create a malicious link to inject unwanted executable JavaScript into a Web site. The most usual case of this vulnerabilities occurs when GET variables are printed or echoed without filtering or checking their content.
Again it sounds like someone would mess with the URL to put malicious code into GET passed variables but wouldn't this be like attacking one's self?
This article was at the top of a Google search but it seems to beet around the bush and not define anything. It implies XSS is done usually with JavaScript, is this true?