jargon

Frontend & browser·Browser security

someone put a script tag in their display name and it ran in everyone else's browser.

Cross-site scripting

Also calledXSS

Getting attacker-controlled script to execute in another user's page, with full access to their session, their DOM and anything the origin can reach. It is the defining browser vulnerability because the same-origin policy grants that script everything your own code has. Every variant comes from the same root cause: data crossing into a context where it is interpreted as code.

Commonly confused with