Research indexJournal article
XSS Tutorial
Eve
Knowledge Commons (Lakehead University)23 May 2007Open access
NobleIDark:/48914/w1/20261105/466D6A22DOI10.17613/hm88y-8j283
XSS Tutorial
Eve · Knowledge Commons (Lakehead University) · 2007
NobleIDark:/48914/w1/20261105/466D6A22DOI10.17613/hm88y-8j283
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
This page is designed to give an overview of Cross Site Scripting attacks on web sites, how they come into being, how to exploit them and how to protect against them. To fully comprehend Cross Site Scripting, or XSS as it is known (CSS is NOT used as an abbreviation because it causes confusion when talking about Cascading Style Sheets), it is necessary to have a basic understanding of (X)HTML, JavaScript and Server Side Scripting. For the purposes of this tutorial the server side scripting language used in examples will be PHP, but this entire document is equally applicable to ASP, JSP and .NET. To begin with, consider the following basic PHP page, test.php: