kamranahmedse / tab-switcher

Chrome Extension - Switch between the opened tabs in the blink of an eye
https://goo.gl/8IN6Z3
446 stars 35 forks source link

Fix more XSS vulnerabilities #27

Open leonklingele opened 5 years ago

leonklingele commented 5 years ago

This fixes a potential XSS vulnerability for favicons like " onload="alert(1);" data-xss=" Instead of using replace(), set the favicon URL via setAttribute() or by other ways of unsuring sanizited HTML is used.