Skip to content
Brief Security & Trust ·

uBlock Origin flaw let websites add trusted filters through the element picker

The Firefox extension's element picker could be steered by a web page, and four fixes shipped between November 2 and 8.

In brief
  • A web page could control uBlock Origin's element picker in Firefox and add trusted filters after one user click. Trusted filters can inject JavaScript.
  • Four fixes shipped from 1.75.2 to 1.76.0. The reporter said the extension's random ID still leaked after 1.75.4.

The uBlock Origin project said in a security advisory that a web page could take over the element picker in the Firefox MV2 extension. The picker is the tool that lets users block parts of a page. According to the advisory, the page could then add filters the extension trusts once a user clicked. The attack needs a filter rule that answers a request with a built-in extension file. A blog post on iter.ca, dated 15 November, calls it a one-click universal XSS flaw, meaning attacker code could run on any site. It says a similar but less serious issue hit uBO Lite. The reporter emailed the project on 1 November.

The advisory lists four fixes: 1.75.2 on 2 November, 1.75.4 on 3 November, and two in 1.76.0 on 8 November. After 1.75.4, the reporter wrote that a page could still learn the extension's random ID. He also suspected a timing trick might get around the fix, but could not repeat it reliably. The iter.ca post says the issue is now fixed. The advisory and the post do not say whether anyone used the flaw against real users.

Anyone running uBlock Origin on Firefox with the older MV2 design needs version 1.76.0 or later to get all four listed fixes. The flaw turned a tool that blocks ads into a way to run code on other sites, so teams that tell staff to use it should check versions.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: uBlock Origin project (gorhill/uBlock, GitHub security advisory GHSA-cmqw-9r2w-6wv2).