Harry
Harry

Reputation: 55029

Allowing user css

I'm allowing user css.

I'm taking their css input, creating a style, and just inserting it.

Are there any security issues I need to consider.

Do I need to validate that css?

Thanks.

Upvotes: 2

Views: 605

Answers (1)

Sarfraz
Sarfraz

Reputation: 382909

Yes you do need to be careful, you can take a look at these for more info:

Upvotes: 5

Related Questions