Last active
December 15, 2015 13:09
-
-
Save borski/5265313 to your computer and use it in GitHub Desktop.
Chrome Browser Extension XSS example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="_company_extension" a="" href="#" #tinfoil"="" "javascript:var e = document.createEvent("CustomEvent"); e.initCustomEvent("extensionEvent", true, true, {type: "hash", value: "#tinfoil"}); document.body.dispatchEvent(e); return false;"> | |
#tinfoil | |
</a><script>alert(‘XSS’)</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment