Is the style considered harmful?

We have code that removes “dangerous” attributes and tags from HTML. I noticed that it styleis on the list of "dangerous" attributes. What is the risk of this attribute?

+5
source share
3 answers

You can make things invisible or otherwise very deceptive using style sheets. For example, you can put a giant invisible anchor link on the entire page, so that when a user clicks on something, he goes to an identical page on a server in Russia.

+1
source

In IE, you can enable @behaviorsit where you can download small Javascripts.

CSS3 , .

+2

Here's an example error in MediaWiki that creates a vulnerability based on inline style attributes.

+2
source

All Articles