Cross-site scripting
Meaning in software engineering, with examples
In software engineering, cross-site scripting means: An attack in which someone gets harmful JavaScript into a page that other users open, for example through a comment, so that the script runs in their browsers.
In Turkish: siteler arası betik çalıştırma, XSS
How it is used
Usually called XSS. It can be used to steal session data or change what users see. Common defenses are escaping user input, avoiding raw innerHTML and setting a Content Security Policy (CSP) header.
Example sentences
The search page was open to cross-site scripting because it printed the query without escaping it.
The security report lists two cross-site scripting issues in the comment form.
Common collocations
- XSS attack
- XSS vulnerability
- prevent cross-site scripting
- escape user input
- Content Security Policy
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: APIs, Networking and Security
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
