I find this one a bit funny and a bit uncomfortable: a tool you install to make web pages safer let a web page talk to it and hand itself a script. The bug is in uBlock Origin’s element picker, and a write-up of it is sitting at 434 points on Hacker News today.
What actually happens
uBlock Origin has a “trusted filter” type that can run JavaScript on a page. That is useful for the filter list authors and dangerous in the wrong hands. The element picker, the thing you use to click an annoying box and make it disappear, accepted messages from the page it was embedded in. So a malicious site could load the picker in a hidden iframe, steer it with postMessage, and get it to add a filter that was not what the user thought they were creating. That filter then runs code on other sites. Hence “universal” XSS.
There are two catches that make it less scary than it sounds. The site first has to learn the extension’s internal random ID, which Firefox hands out through certain requests. And the user still has to click once, which an attacker can try to get with an invisible button under something that looks harmless. It is not drive-by, but one click is a low bar.
Who is affected, and what to do
The GitHub advisory (rated high, no CVE) says the Firefox MV2 version up to 1.75.2 is affected, and that 1.75.4 closes the main hole, with more hardening in 1.76.0. The write-up says uBlock Origin Lite had a similar but less serious problem. The Dutch outlet Security.nl reports the same, and adds what an attacker could do with the injected filter: steal data typed into pages, steal cookies or open fake login windows.
The reporter’s email thread, quoted in the advisory, says the first fix could be bypassed. The advisory does not say whether that was handled, so I’d not stop at 1.75.4: open your add-ons page, check the version, and take 1.76.0 or newer if you can see it. The advisory lists no workaround other than updating.
The part I find odd
The write-up’s author says an AI model did most of the finding and wrote the proof-of-concept code, and that they verified it. The advisory credits the report to a researcher called syvb and the other sources name a different person, so I am not going to guess who is who. What I can say is that the timeline looks short: reported on 1 November, a first fix two days later. That is how it should go.
Adblockers are some of the most trusted software in a browser, because they see every page, so a bug in one is worth a quick look at the version number, even if you are on Chrome and only the Firefox build is named.
