All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
A flaw in uBlock Origin could let a malicious website trick the ad blocker into running attacker-controlled JavaScript on other sites.[1]
Researcher Smitty van Bodegom published the findings on November 15, describing an attack that could work after a single click on a malicious page. The flaw involved the extension’s element picker, a tool normally used to select and hide unwanted parts of a website.
Browser extensions like ad blockers, password managers, and shopping tools often get deep access to every page you open, so a flaw in any one of them can ripple across your entire browsing session.
The fix here is already out. Your job now is just making sure you have it.
Which uBlock Origin versions are affected?
How to check and update uBlock Origin
How the attack worked
uBlock Origin has a feature called the element picker, which lets you right-click something on a page, like an annoying ad or a cookie banner, and create a filter rule to hide it.
According to the researcher's write-up, the picker runs inside an iframe that talks to the extension's background script to add filtering rules.
The flaw? A malicious page could load the picker’s interface and send it instructions that should have come only from the extension. By manipulating those messages, the attacker could add a trusted filter that could inject JavaScript into another website.
The remaining step required the user to click the picker’s Create button. Van Bodegom explained that an attacker could hide the interface and position the button where someone would click while using the page. The published demonstration left the button visible; the researcher described how it could be concealed.
In other words, with one click, the site could add a filter that ran its own code on any other website.
“The element picker shouldn’t accept messages from the attacker,” van Bodegom wrote. The researcher said the same type of issue, described as less serious, also affected uBO Lite, the Manifest V3 version of the extension built for Chrome.
The GitHub advisory says the vulnerability was reported to the uBlock Origin developer by email on Nov. 1, under the subject line "Universal XSS from website-driven element picker.”
Which uBlock Origin versions are affected?
The project’s security advisory rates the vulnerability high severity and lists versions 1.75.2 and earlier as affected. Version 1.75.4, released November 3, is identified as patched.
Additional protections arrived in 1.76.0 on November 8. The latest stable Firefox release, 1.76.4, followed on November 15 with further security fixes. Update to the latest release rather than stopping at the first patched version.
How to check and update uBlock Origin
If you use uBlock Origin in Firefox, check that you’re running the latest version. As of November 16, that’s 1.76.4.
- Open Firefox’s menu and select Extensions and themes, then Extensions.
- Select uBlock Origin to check its installed version.
- Return to the Extensions panel, open the gear menu and select Check for Updates. Install any available update.
You can also select Update Add-ons Automatically from the gear menu. Mozilla’s instructions explain how to manage updates for individual extensions.
If you use uBlock Origin Lite, update it through your browser’s extension store. The researcher reported a related, less serious issue in Lite that has also been fixed. It’s a separate extension with its own version numbers, so the 1.76.4 recommendation applies to the full uBlock Origin.
Chrome users who are unsure which extension they have can review what changed when Chrome phased out the full uBlock Origin.