4 ms·
This works: <s c r i p t>alert('xss')</ s c r i p t> I think older versions of IE might execute this - the LiveJournal XSS filter has defence against this one
by simonw 17y ago
This works:
<s
c
r
i
p
t>alert('xss')</
s
c
r
i
p
t>
I think older versions of IE might execute this - the LiveJournal XSS filter has defence against this one. At the very least though it should be escaped rather than being allowed through on to the page.
- robicch 17y agoNo, this not works because is html-encoded. There are three output to HtmlSanitizer: .html and .text should be used for visualization while .val should be used to store data as it try to preserve data inserted.