Web and Security
Cross-site scripting (XSS)
An attack in which an attacker gets a target website to run malicious code as if it were part of the site, so the code can do anything the site's own code can do. It depends on a site accepting attacker-crafted input and including it in a page without sanitizing it.
Source MDN Web Docs (Mozilla), Cross-site scripting (XSS) Checked November 27, 2026
See it
attack is one in which an attacker is able to get a target site to execute malicious code as though it was part of the website.
Sources
- MDN Web Docs (Mozilla), Cross-site scripting (XSS)
Cite this term
Interstellar Kinetics. "Cross-site scripting." IKE Glossary. Checked November 27, 2026. interstellarkinetics.com/glossary/cross-site-scripting
Educational information.