Cross-site scripting attacks typically involve more than one website (which makes them cross-site), and they involve some sort of scripting. A basic primer on XSS can be found at
http://www.cgisecurity.com/articles/xss-faq.shtml. The CERT Coordination Center at Carnegie Mellon University is generally considered the authority on XSS. Their advisory at
http://www.cert.org/advisories/CA-2000-02.html is 10 years old as of this writing, but no less relevant to today's applications. In this section, we will introduce you to some of the many forms of XSS.
When we said earlier that XSS involves “some sort of scripting,” we were not talking about PHP scripts, because of course those scripts are run on the server and generate the ...