{
  "id": 20262284,
  "title": "Universal XSS in uBlock Origin from website-driven element picker",
  "url": "https://urgent.news/2026/11/16/universal-xss-in-ublock-origin-from-website-driven-element-picker-20262284",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-16T05:12:27.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://iter.ca/post/ubo-uxss/"
  },
  "original_language": "en",
  "account": "Earlier this month, a security researcher discovered a serious vulnerability in the uBlock Origin extension, specifically a one-click universal XSS issue in the Firefox version. This issue allowed a malicious website to trick the extension into adding arbitrary trusted filters, which could then inject JavaScript code into any page.\n\nThe extension uses an element picker feature, accessible through a right-click action, to create filter rules without leaving the page. This picker is implemented by injecting an iframe from a specific URL, which communicates with the extension's background script to add filters. On Firefox, the main filter rule in place hooks the fetch function to replace network requests to ad servers with a dummy script.\n\nThe attacker can extract the random extension UUID from the extension's fetch hook. With this information, they can make the malicious website trigger the filter by making an XHR request to the extension UUID's webpage, initiating the filter addition process.\n\nUsing the injected iframe, the attacker can create a MessageChannel and send a message to the element picker to enable the filter creation process. They can then create arbitrary trusted filters by manipulating the filter string to include a script tag, effectively bypassing the picker's restrictions. This vulnerability stems from the element picker not properly validating messages from potential attackers.\n\nThe researcher suggested implementing a password mechanism to ensure the element picker only accepts messages from trusted sources. However, attackers could potentially overlay the picker or make it invisible to exploit this vulnerability. Trusted filters added by the picker are typically treated as trustworthy until an application recompile, which in practice can be bypassed if the attacker opens the victim's webpage shortly after.",
  "summary": null,
  "key_points": [
    "Universal XSS vulnerability discovered in uBlock Origin's Firefox version",
    "Attackers exploit element picker to add arbitrary trusted filters",
    "Password mechanism suggested to prevent unauthorized filter additions"
  ],
  "editors_take": "The vulnerability exposes how inadequate message validation in the element picker allows malicious websites to bypass security boundaries and inject arbitrary code into any webpage a user visits.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}