[Webkit-unassigned] [Bug 68094] xssauditor - script block ending in comment can bypass auditor.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 12:42:52 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68094





--- Comment #10 from Adam Barth <abarth at webkit.org>  2011-09-21 12:42:52 PST ---
The main reason to grab more of the snippet is to reduce false positives.  In the case where you have a string, we've probably already got a good enough snippet to avoid false positives:

<script>
var x = "http://

It seems fine to terminate the snippet there. It's not super important that it's not really the beginning of a comment.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list