Back Gigazine It has been discovered that the ad blocker 'uBlock Origin' has a vulnerability that allows ...
On November 15, 2026, it was announced that a one-click, generic XSS (UXSS) vulnerability existed in the Firefox version of the ad blocker 'uBlock Origin.' By exploiting this vulnerability, a malicious website could add arbitrary trusted filters to uBlock Origin. Since trusted filters allow the injection of JavaScript code into web pages, an attacker could exploit this to create a situation where arbitrary JavaScript could be executed in the context of any website. The vulnerability in question was reported to the development team on November 1, 2026, and has already been fixed as of the time of writing. Universal XSS in uBlock Origin from website-driven element picker
In summary, the steps an attacker takes to exploit a vulnerability are as follows: 1. Identify the element picker URL. The attacker first needs to identify the URL used by uBlock Origin's element picker. In a Firefox environment, this required identifying the ' extension's internal UUID ,' which is randomly generated during extension installation. 2. Creating an iframe with an embedded element picker The attacker creates an iframe with an embedded element picker and sets its opacity to '0' to make it invisible. 3. Injecting the filter The attacker manipulates the element picker they created to implement the desired filter. 4. Encouraging users to click the 'Create' button. An invisible iframe is placed on top of an element that the user might interact with, tricking the user into accidentally clicking the 'Create' button on the iframe. As can be seen from the above procedure, the only information the attacker needed to decipher was the randomly generated internal UUID of the extension . In Firefox, the filter rule 'lootdest.*##+js(no-fetch-if, adsbygoogle, war:googlesyndication_adsbygoogle.js)' included in the default settings of uBlock Origin hooks fetch requests. This filter is originally intended to replace JavaScript requests from ad servers with dummy scripts that have the correct API, but the attacker was able to extract the extension's internal UUID by further hooking this fetch hook itself within an XMLHttpRequest (XHR) request. The following code is an example of how to use XHR to hook into and extract the internal UUID of an extension. [code] const origOpen = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function(m, url, ...a) { const e = /^moz-extension:\/\/[^/]+/.exec(url); if (e) { e[0] // This contains the extension's internal UUID! } return origOpen.call(this, m, url, ...a); }; [code] The attacker was able to use this code to trigger the filter by executing 'fetch('/adsbygoogle.js').catch(() => {});', thereby executing the hooked XHR request. Note that there may be multiple other ways in which the UUID could have been leaked besides this filter rule. If the UUID can be identified, the element picker can be embedded in an iframe using the UUID. Specifically, the 'src' attribute of the iframe element is set to 'moz-extension://[ extension's internal UUID ]/web_accessible_resources/epicker-ui.html', which contains the obtained UUID. Then, a 'MessageChannel' is created and a message is sent using 'iframe.contentWindow.postMessage({ what: 'epickerStart' }, '*', [ch.port2]);' to start communication with the picker iframe. Once the picker iframe sends the 'start' message, a 'showDialog' message and a 'resultsetDetails' message with a specified filter are sent to enable the 'Create' button and set the 'opt' field. While element pickers are designed to limit the types of filters that can be entered and do not allow the addition of scriptlet filters, an attacker can insert a newline character into the 'opt' field to inject an arbitrary trusted filter, such as ''image\\ngoogle.com##+js(trusted-rpnt, script,...)'', and execute a script. Attackers could trick users into clicking by overlaying other elements on top of embedded element pickers or by making the iframe invisible by setting its 'opacity' to 0. It was possible to add arbitrary trusted filters to any domain simply by the user clicking anywhere on the page. Filters added by the element picker are always treated as trusted until they are recompiled. A recompile occurs when a user changes a custom filter, clearing the filter's trustworthiness, but this measure is not fundamental because an attacker can immediately open the victim's webpage. The core of this vulnerability was that the element picker unconditionally accepted messages from attackers. As a fix, a secret token, which can only be obtained from the content script by a genuine element picker, has been introduced, and the element picker now sends the token in its initial 'postMessage' method. The patched version (1.76.0 and later) is already available on the Firefox add-on distribution site . Firefox's uBlock Origin is usually automatically updated, but if automatic updates are disabled, a manual update is required.
The attacker was able to use this code to trigger the filter by executing 'fetch('/adsbygoogle.js').catch(() => {});', thereby executing the hooked XHR request. Note that there may be multiple other ways in which the UUID could have been leaked besides this filter rule. If the UUID can be identified, the element picker can be embedded in an iframe using the UUID. Specifically, the 'src' attribute of the iframe element is set to 'moz-extension://[ extension's internal UUID ]/web_accessible_resources/epicker-ui.html', which contains the obtained UUID. Then, a 'MessageChannel' is created and a message is sent using 'iframe.contentWindow.postMessage({ what: 'epickerStart' }, '*', [ch.port2]);' to start communication with the picker iframe. Once the picker iframe sends the 'start' message, a 'showDialog' message and a 'resultsetDetails' message with a specified filter are sent to enable the 'Create' button and set the 'opt' field. While element pickers are designed to limit the types of filters that can be entered and do not allow the addition of scriptlet filters, an attacker can insert a newline character into the 'opt' field to inject an arbitrary trusted filter, such as ''image\\ngoogle.com##+js(trusted-rpnt, script,...)'', and execute a script. Attackers could trick users into clicking by overlaying other elements on top of embedded element pickers or by making the iframe invisible by setting its 'opacity' to 0. It was possible to add arbitrary trusted filters to any domain simply by the user clicking anywhere on the page.
Filters added by the element picker are always treated as trusted until they are recompiled. A recompile occurs when a user changes a custom filter, clearing the filter's trustworthiness, but this measure is not fundamental because an attacker can immediately open the victim's webpage. The core of this vulnerability was that the element picker unconditionally accepted messages from attackers. As a fix, a secret token, which can only be obtained from the content script by a genuine element picker, has been introduced, and the element picker now sends the token in its initial 'postMessage' method. The patched version (1.76.0 and later) is already available on the Firefox add-on distribution site . Firefox's uBlock Origin is usually automatically updated, but if automatic updates are disabled, a manual update is required.
Added ability to regulate malicious redirects to Google Chrome
There is a CSS injection vulnerability in the ad blocking extension 'uBlock Origin' that steals user passwords
'Google Chrome 102' stable release, desktop version officially released the side panel of Google lens
Google Chrome 83 stable version released, form appearance & operability greatly updated with cooperation of Microsoft
How to keep your ad blocker on Chrome
I tried using the Chrome extension 'Alt & Meta viewer' that can display alt attributes inserted in images
'Google Chrome 112' stable release, CSS supports nesting
'Google Chrome 111' stable release, view transitions API allows you to create sophisticated transitions
Nov 18, 2026 07:00:00 in AI , Software , Security , Posted by log1c_sh
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
