Open juanschallibaum opened 6 years ago
Thank you for reporting this. Unfortunately, this repo is no longer maintained. If you want I will merge a PR, but no new releases of gInfinity are created. Thanks!
You are welcome! I'm here to help.
Since there will be no more releases of ginfinity, the solution for users would be disable converting urls in text to clickable links from gInfinity option panel:
I accidentally discovered a security flaw in your extension. When the TreeWalker object takes text from the page and adds it back to the DOM inside span innerHTML, if the text is a script, it is executed. A malicious user could steal cookies from google.com, redirect user's browser to a malicious site, among others things. Proof:
Chrome with gInfinity:------------------------------------Chrome without gInfinity:
As you see, the <.svg onload=alert(1)>, that appears in google index content is executed when i using your extension.
Vulnerable section of code: