NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedCybersecurity

uBlock Origin fixes flaw allowing JavaScript execution on other sites

A researcher reported that a malicious page could use the element picker to add a trusted filter and execute JavaScript in another website’s context.

Published: 16 Nov 2026, 05:00 UTC
A shield with a filtering mesh blocks a red thread stretching from a malicious page toward other pages.
Editorial illustration: fixing a vulnerability in a browser extension’s filtering mechanism.

A researcher writing on iter.ca disclosed a now-fixed universal cross-site scripting (UXSS) vulnerability in the Manifest V2 Firefox version of uBlock Origin. The described attack required one user click. A similar but less problematic issue also affected the Manifest V3 extension, uBO Lite.

The flaw involved the element picker, which lets users create blocking filters without leaving a webpage. A malicious site could discover the extension’s internal identifier, embed the picker in an iframe and send it messages. Attacker-controlled message parameters could then introduce an arbitrary trusted filter capable of running JavaScript on another domain.

To complete the attack, the researcher described hiding the iframe or placing content over it to trick a user into clicking the filter creation button. However, the researcher did not implement that click-tricking step. Filters created through the picker remained trusted at least until recompilation; a later change to custom filters could clear that trust.

According to the author, GPT-5.6 Sol did most of the work finding the vulnerability after being asked to investigate a suspected filter-injection route. The researcher then verified its proposed finding, while Claude wrote most of the proof-of-concept code. One fix introduced a secret supplied to the legitimate picker by the extension’s content script to authenticate the messaging exchange.

Original source: iter.ca ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Hacker News