XSS is an acronym for Cross-Site Scripting. Cross-site scripting attacks occur when you manage to hide a script (usually javascript) on someone elseβs website where it can be maliciously launched.
XSS , -. , -, , My name is <script src="http://bad.domain/evilscript.js"></script>. , , , , HTML, , , script .
, escape. Escaping , ( ) , . HTML < > ( ), HTML. < > (. PHP htmlspecialchars()), HTML- .
Symfony , , , .