Skip to main content
osky
Sección
Technology

Raymond Hill, author of uBlock Origin, published a high-severity security advisory on November 15: in the Firefox version (Manifest V2), a malicious page could take control of the extension's element picker and, with a single click from the victim, add "trusted" filters capable of injecting JavaScript into any other site. This is what's known as universal XSS: the blocker you installed to protect yourself became the door for running code on your bank, your email, or your admin panel. According to the advisory, versions 1.75.2 and earlier are affected, and the main fix landed in 1.75.4. If you use uBO on Firefox, check your version today.

What was happening

The finding comes from Smitty van Bodegom (syvb on GitHub), who reported it by email on November 1 and published the details on his blog on the 15th. The attack chains four steps:

  1. Extract the extension's internal identifier. In Firefox, every installation has a random UUID. Some uBO filters use scriptlets like no-fetch-if or prevent-xhr, which answer the page with an internal extension resource. The page could intercept that XMLHttpRequest and read the moz-extension:// address containing the UUID. The report says that in Chromium MV2 the same trick exposed the secret for internal resources.
  2. Embed the element picker (epicker-ui.html) in an iframe of its own, even an invisible one with zero opacity.
  3. Talk to it as if you were uBO. The picker accepted messages from anyone. The opt field, which normally just states the request type (for example image), wasn't validated, so you could sneak in a line break and, after it, a second filter with trusted scriptlets like trusted-rpnt, which rewrites the content of pages. The user saw an innocent filter; a different one got saved.
  4. Get the click. All it takes is for the person to click where the "Create" button is hidden.

There's an aggravating factor that the report itself explains: filters created by the picker are treated as trusted, at least until the list is recompiled. The attacker could immediately open the victim site and run their code before that happened.

Diagram of the five-step attack chain against uBlock Origin and the four versions with which Raymond Hill closed it

It wasn't an exotic case: the researcher built his demo with a rule that ships in uBO's default lists (from uAssets). For other domains, an equivalent rule would do.

How it was fixed

The advisory lists the commits in order along with the version for each:

Version Date Change
1.75.2 November 2 Scriptlets stop using XHR methods the page can manipulate
1.75.4 November 3 The picker only starts with a verified secret token
1.76.0 November 8 The filter is validated before being created and war: filters are halted for now

The first fix wasn't enough. In the email exchange that Hill published, the researcher tells him that same November 2 that he could still get the UUID by defining a responseText getter on the XHR prototype. The next day 1.75.4 came out on Mozilla's add-ons store, with the secret password that the legitimate picker receives from the content script.

The latest stable version is 1.76.4, from November 15. Its notes include "address remaining reported security issues" and removing warOrigin/warSecret, which were no longer in use.

What about uBO Lite?

Van Bodegom writes that a "similar, but less problematic" issue affected uBO Lite, the Manifest V3 version. He gave no further details. What is in the repository is that uBO Lite version 2026.1110.1816, from November 10, includes the change "Valid secret required to launch interactive tool overlays". My reading is that it's the counterpart of the same fix, although the note doesn't put it in those words.

What to do

  • On Firefox: open about:addons, go into uBlock Origin and confirm you have 1.76.4 or at least 1.75.4. If not, check for updates from that menu or reinstall it from AMO.
  • On Chromium with the MV2 package from GitHub, on Edge or Opera: check the version on the extensions page; the releases list tells you where to download each build.
  • On uBO Lite: update to 2026.1110.1816 or later.
  • You didn't need to touch your filters: one click on the wrong page was enough. That's why the only real defense here is updating.

I didn't test the attack; all of this comes from the official advisory and the blog of the person who reported it.

What it leaves us with

The report has a detail that captures the moment: van Bodegom says GPT-5.6 Sol did "most of the hard work" of finding the flaw, that he verified it and wrote the text, and that Claude wrote almost all the proof-of-concept code. My take: AI-assisted vulnerability hunting is already finding real flaws in software used by millions, and on the other side there's a maintainer who responded within hours and shipped a patch in two days. On Hacker News the thread passed 490 points, with a good part of the discussion about an underlying problem: extensions have to put their interface inside the page they're filtering, and that page isn't always friendly.

For those who build websites, the lesson holds just the same: any postMessage channel that accepts commands without verifying where they come from is a risk, and validating the fields "nobody else should touch" isn't paranoia.

Sources