uBlock Origin 修補 Firefox 元素選取器通用 XSS 漏洞
Smitty van Bodegom 與 iThome 報告稱,惡意網站可利用 uBlock Origin 的 Firefox 元素選取器,誘使用戶加入能在其他網站執行 JavaScript 的受信任過濾規則。1.75.2 及更早版本受到影響;1.75.4 加入祕密權杖驗證,1.76.0 進一步加入規則內容檢查,並暫時停用涉及擴充套件內建資源的過濾規則。基於 MV3 的 uBO Lite 也存在類似但問題較輕的漏洞。Van Bodegom 表示,GPT-5.6 Sol 找到了漏洞,Claude 編寫了大部分概念驗證程式碼,他則負責驗證發現並撰寫報告。
此漏洞可讓惡意網頁操控由網站驅動的元素選取器新增受信任過濾規則,進而使 JavaScript 在其他網站的脈絡中執行。
By · Nov 15, 2026
Earlier this month I found a one-click universal XSS issue with uBlock Origin (the MV2 Firefox version, although a similar but less problematic issue also affected the MV3 version, uBO Lite), where a malicious website could trick the extension into adding arbitrary trusted filters. Trusted filters can inject JavaScript code into pages, and so the malicious website could create a trusted filter on another website and run arbitrary JS in the context of any site. This issue is fixed now; you can read the GitHub advisory for some more details.
GPT-5.6 Sol did most of the hard work of finding the issue. I figured there might be some kind of UXSS from filter injection, so I asked it to take a look, and it found the issue. I then checked and verified the issue it proposed. I wrote all of the prose in this post myself; Claude wrote most of the code for the PoC.
The issue
uBlock Origin has an element picker that you can pull up by right-clicking on the page. You can use this to create a filter rule to block an element on the page without leaving the page.