Universal XSS in uBlock Origin from website-driven element picker

Someone found a high rated XSS vulnerability in Ublock Origin which got a high rating.

For the Firefox MV2 extension, it’s possible for a webpage to iframe the element picker and control it to add arbitrary trusted filters when a user clicks on the webpage, if there’s a filter rule with a prevent-xhr or prevent-fetch scriptlet that fulfills the response with a WAR.

The attacker website can hook XHR like this to extract the extension UUID (and the long WAR secret on MV2 Chromium).

3 Likes

It was already patched in version 1.75.4

2 Likes