Everything about Cross-site scripting
Security issue for web applications
Cross-site scripting (XSS) is a type of security vulnerability that can be found in some web applications. XSS attacks enable attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy. XSS effects vary in range from petty nuisance to significant security risk, depending on the sensitivity of the data handled by the vulnerable site and the nature of any security mitigation implemented by the site's owner network. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Cross-site scriptingA 5-minute orientation
- Skim a recent paper: Detection of cross-site scripting (XSS) attacks using machine learning techniques: a reviewInfluential work since 2022
- Pick up a classic book: American FilmThe most-reprinted book on the subject
- Read the landmark paper: Cross-site scripting (XSS) attacks and mitigation: A surveyCited 153 times
- Go sideways: Cross-site request forgeryA closely related topic
- Go sideways: Code injectionA closely related topic
📖 Definitions
Noun An exploit that involves tricking a victim into executing a malicious script on a target website, so that the malicious content is trusted as though it were part of that site.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Cross-site scripting (XSS) attacks and mitigation: A survey
Automated removal of cross site scripting vulnerabilities in web applications
Client-side cross-site scripting protection
Noncespaces: Using randomization to defeat cross-site scripting attacks
Machine Learning-Driven Detection of Cross-Site Scripting Attacks
Multiple-path testing for cross site scripting using genetic algorithms
Defending against Cross-Site Scripting Attacks
Detection of Web Cross-Site Scripting (XSS) Attacks
🆕 Influential since 2022
Detection of cross-site scripting (XSS) attacks using machine learning techniques: a review
An efficient artificial intelligence approach for early detection of cross-site scripting attacks
Cost-effective detection system of cross-site scripting attacks using hybrid learning approach
An LSTM based cross-site scripting attack detection scheme for Cloud Computing environments
Cross-Site Scripting Attacks and Defensive Techniques: A Comprehensive Survey*
📚 Books worth reading
American FilmAmerican Film Institute · 1975
Technical CommunicationJohn M. Lannon · 2000
The web application hacker's handbookDafydd Stuttard, Marcus Pinto · 2007
Learning PHP, MySQL & JavaScriptRobin Nixon · 2009- 📕Cross-Site Scripting AttacksB. B. Gupta, Pooja Chaudhary · 2020
Treaty Occupationay ToxicologySuelen Queiroz · 2010
Engineering Secure Software and SystemsJan Jürjens · 2013
XSS attacksJeremiah Grossman · 2007
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Cross-site request forgery Cross-site request forgery (CSRF, sometimes pronounced sea-surf) is a type of malicious exploit of a website or web application where unauthorized commands…
- Code injection Code injection is a computer security exploit where a program fails to correctly process external data, such as user input, causing it to interpret the…
- HTTP header injection HTTP header injection is a general class of web application security vulnerability which occurs when Hypertext Transfer Protocol (HTTP) headers are dynamically…
- JSONP JSONP, or JSON-P (JSON with Padding), is a JavaScript technique for requesting data via the <script> HTML element. It was proposed by Bob Ippolito in 2005…
- Content Security Policy Content Security Policy (CSP) is a computer security standard introduced to prevent cross-site scripting (XSS), clickjacking and other code injection attacks…
- Opa (programming language) Opa is a programming language for developing scalable web applications. It is free and open-source software released under a GNU Affero General Public…
- DOM clobbering In internet security, DOM clobbering (where DOM stands for Document Object Model) is a type of injection attack that revolves around the attacker being…
- Same-origin policy In computing, the same-origin policy (SOP) is a concept in the web application security model. Under the policy, a web browser permits scripts contained…