We have some code that removes “dangerous” attributes and tags from HTML. I noticed that style is among the list of “dangerous” attributes. What could be the risk from that attribute?
We have some code that removes dangerous attributes and tags from HTML. I noticed
Share
It’s possible to make things that are invisible or otherwise very deceptive using style sheets. For example, you could put a giant, invisible anchor link over the whole page so that when the user clicks on something, he’s taken to an identical page on a server in Russia.