C O M M O N M Y T H
“We check every user request for embedded script tags,
so no XSS attacks are possible.”
Aside from the question of whether any filter bypasses are possible, you have
now seen three reasons why this claim can be incorrect:
■■
In some XSS flaws, the attacker-controllable data is being inserted
directly into an existing JavaScript context, and so there is no need to
use either script tags or the
javascript:
protocol. In other cases, you
can inject an event hander containing JavaScript without using any
script tags.
■■
Do'stlaringiz bilan baham: