2 ms·
> If a server sends my browser text, however, and my idiot browser executes it as code That's entirely normal. There's no hard distinction between "text" and
by pjc50 6y ago
> If a server sends my browser text, however, and my idiot browser executes it as code
That's entirely normal.
There's no hard distinction between "text" and "code", and there always end up being leaks in the systems designed to keep them apart.
In the case of XSS, the difference is between "text" of the webpage that you're supposed to execute and "text" that was inserted into the web page from somewhere else.