When allowing "style" attributes, KSES automatically
strips out anything with the colon due to the
bad_protocol* functions. Please make it so styling is
still capable when allowed.
Just a tip if anyone does do this feature, because XSS
attacks are possible if you allow all style tags. The style
tag itself, shouldn't really be needed as much as the
attributes as many elements use them, and they are supposed
to be better for formating that <FONT> <B> <I> ect...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
I'll think about it. You do realize that both the style tag and
the style attribute cause security vulnerabilities?
// Ulf Harnhammar
Logged In: YES
user_id=1281259
I too would like to see this feature added, but there's some
XSS techniques that you would have to be on the guard for,
such as:
<XSS STYLE="xss:expression(alert('XSS'))">
<IMG STYLE="xss:expr/*XSS*/ession(alert('XSS'))">
<IMG STYLE="behavior: url(http://ha.ckers.org/xss.htc)">
<IMG STYLE="background:url("javascript:alert('XSS')")">;
Just a tip if anyone does do this feature, because XSS
attacks are possible if you allow all style tags. The style
tag itself, shouldn't really be needed as much as the
attributes as many elements use them, and they are supposed
to be better for formating that <FONT> <B> <I> ect...
Logged In: YES
user_id=1065794
Originator: NO
See possible solution at http://sourceforge.net/tracker/index.php?func=detail&aid=1752954&group_id=81853&atid=564260