Universal XSS Flaw Found in uBlock Origin
November 16, 2026
A security researcher has disclosed a one-click universal cross-site scripting (XSS) vulnerability in uBlock Origin, the widely used content blocker for Firefox. The flaw allowed a malicious website to trick the extension into injecting arbitrary JavaScript code into any other site the user visited.
The vulnerability targeted uBlock Origin's element picker feature, which lets users create filter rules by right-clicking on page elements. Researcher Smitty van Bodegom discovered that a malicious site could create a hidden iframe embedding the element picker, drive it to craft a malicious filter, and then position the invisible "Create" button to trick the user into clicking it. Because the picker operates with the extension's trusted privileges, the injected filter could execute JavaScript in the context of any website.
The attack required figuring out the extension's internal UUID, which is random per installation. On Firefox, the attacker could extract this by hooking XMLHttpRequest calls made through a default uBlock Origin filter rule that replaces ad scripts with a dummy local resource. Once the UUID was known, the rest of the attack was a matter of social engineering the user into a single click.
The MV2 Firefox version was most affected. A similar but less severe issue also existed in uBO Lite, the MV3 version. Both have been patched. Van Bodegom credited GPT-5.6 Sol with helping identify the initial issue and Claude with writing the proof of concept code.
uBlock Origin is one of the most popular browser extensions on Firefox, making this a serious exposure. Users should update immediately.
Source:
[1] Universal XSS in uBlock Origin from website-driven element picker - iter.ca