On Tue, 24 Jan 2012 06:16:48 -0800, Tei <oscar.vives(a)gmail.com> wrote:
On 24 January 2012 06:59, Daniel Friesen
Don't delude yourself into thinking that you
can easily blacklist the
elements that would run a script.
What about using textNodes?
Then it's just text.
That's about as safe as throwing everything through htmlspecialchars, it's
I'm saying that you can't blacklist things. ie: You can't run a message
through a jquery message filter, try to strip out script tags from the dom
and then insert it thinking that you've removed all the XSS vectors.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name