uBlock Origin Vulnerability Turns Filter Lists Into a Universal XSS Primitive
Every ad blocker is a page-rewriting engine that runs with more privileges than the page it filters. uBlock Origin sits between the network stack and the DOM, holds host permissions for everything, and is trusted to inject, remove and rewrite markup on any site the user visits. That is a lot of trust to hand to a filter list — and, as this week's disclosure shows, an equally large attack surface. The uBlock Origin vulnerability fixed in release 1.76.4 lets a hostile page plant a filter that applies to other domains, and one well-aimed click turns it into arbitrary JavaScript running in the context of any site the victim has open.
A hidden iframe, a leaked UUID, one click
The flaw lives in the Element picker, the overlay uBO injects when you choose "Block element" from the context menu. The extension renders it as an iframe pointing at moz-extension://UUID/web_accessible_resources/epicker-ui.html, and that page talks to the background script, which stores whatever rule the user confirms. An attacker only has to embed the same URL in an invisible iframe, pre-fill a filter, and place a decoy — a cookie-consent prompt works nicely — so the click lands on the picker's "Create" button.
The UUID is generated per install, but it does not stay secret for long. uBO intercepts fetch() calls to rewrite blocked resources through XMLHttpRequest, and the resulting moz-extension:// request is observable from the page. A single fetch('/adsbygoogle.js') is enough to make the extension reveal its own identifier. The full chain, clickjacking included, is documented in the researcher's writeup.

From stored filter to universal XSS
Filters are not inert data. They are code in a matching language, and uBO applies them to every origin that fits the pattern. Once the injected rule is persisted, the payload executes wherever the victim browses: session tokens lifted from authenticated tabs, download links swapped for malware, crypto wallet addresses replaced at paste time. That is a universal XSS primitive delivered by a privacy tool, and it needs no memory corruption, no CVE and no user training to land.
uBlock Origin Lite, the Manifest V3 build, has a similar quirk with a smaller blast radius — declarative rules and a service-worker-less design limit what a filter can reach. The classic MV2 build still shipping to Firefox is the dangerous one.

A browser full of tabs beats a compromised router
For us, the interesting part is not the wallet swapping. It is the recruitment channel. Script running in the context of a real domain inherits everything that makes a browser node valuable: a residential IP, a valid TLS fingerprint and JA3 hash, a coherent HTTP/2 fingerprint, real cookies, and the ability to clear JS challenges and CAPTCHA without breaking a sweat. Botnets built on such nodes push HTTP GET flood and HTTP POST flood traffic that no reputation feed will flag, hold Slowloris and TLS flood connections open for hours, and abuse HTTP/2 Rapid Reset for a brutal request-to-damage ratio — the same pattern behind the records on our achievements page.
Those properties also make browser traffic the natural answer to challenge-heavy ddos protection: cloudflare bypass stops being a research project when the requests come from real browsers with real user-agent rotation. Headless browser farms and browser emulation get close; a few thousand infected users get further, for free. It is the economics of an ip stresser panel where the infrastructure belongs to the victims. Extensions with broad host permissions are high-value assets, and a filter-injection bug is a botnet recruitment tool wearing a privacy badge.

Update, then re-measure your assumptions
uBO 1.76.4 closes the hole. Update, and if you run a browser fleet, pin extension versions and audit which of them can rewrite pages. The larger lesson is on the server side, though: any ddos protection that assumes the client browser is trustworthy is one compromised extension away from an authenticated flood. Rate limits, behavioural scoring and per-session anomaly detection still do the heavy lifting when the client itself is the attacker.
The uBlock Origin vulnerability is a reminder that layer 7 defence is a moving target. If you want to see how your stack behaves under realistic layer 7 pressure, request our free stress test at /contact — no sales call, just traffic.