Description
The protocolIs function in platform/KURLGoogle.cpp in WebCore in WebKit before r55822, as used in Google Chrome before 4.1.249.1036 and Flock Browser 3.x before 3.0.0.4112, does not properly handle whitespace at the beginning of a URL, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted javascript: URL, as demonstrated by a \x00javascript:alert sequence.
References
- 43068 third-party-advisory
- http://src.chromium.org/viewvc/chrome?view=rev&revision=41244
- ADV-2011-0212 vdb-entry
- oval:org.mitre.oval:def:14067 vdb-entry signature
- http://googlechromereleases.blogspot.com/2010/03/stable-channel-update.html
- https://bugs.webkit.org/show_bug.cgi?id=35948
- SUSE-SR:2011:002 vendor-advisory
- http://flock.com/security/
- http://code.google.com/p/chromium/issues/detail?id=37383
- http://codereview.chromium.org/858001