AI Weekly Malaysia

Back to items Summaries

Universal XSS in uBlock Origin from website-driven element picker

ID
46901
Status
summarized
Published
16 Nov 2026, 10:04 AM
Fetched
16 Nov 2026, 2:09 PM
Provider
Hacker News
Category
dev-community
Original URL
https://iter.ca/post/ubo-uxss/
Source URL
https://hnrss.org/best

Summary

Score
6.5
Created
16 Nov 2026, 2:10 PM
Tags
Audience
developersvibe_codersai_agent_users

What happened

Smitty van Bodegom (loops) published a write-up of a one-click universal XSS in uBlock Origin (the MV2 Firefox build; uBO Lite had a similar but less severe issue), now fixed per the GitHub advisory. The chain: a malicious page hooks XMLHttpRequest to read the per-install moz-extension:// UUID leaking out of uBO's default no-fetch-if filter rule, embeds an invisible epicker-ui.html iframe, and positions it so the user clicks the hidden "Create" button — adding a trusted filter whose +js() directive runs arbitrary JavaScript on any site. GPT-5.6 Sol found the issue after the author asked it to look for UXSS via filter injection; the author verified it and Claude wrote most of the PoC code.

Why it matters

Two concrete takeaways. First, the per-install extension UUID is not a security boundary: if your extension's own filter rules make XHRs to moz-extension:// URLs, page script can hook XMLHttpRequest.prototype.open and read it — so any web-accessible resource that can message your background script needs clickjacking defenses (frame-busting, origin checks, or user-gesture confirmation on privileged writes). Second, this is a working example of pointing a coding agent at a specific hypothesis ("find UXSS from filter injection") and getting a real one-click exploit — useful if you want to run the same play against your own extension or web app, but budget time to manually verify, since the author had to check the agent's proposal before it held up.

Discussion angle

If you ship a browser extension (or any UI that can trigger privileged writes), what would stop a page from framing your UI and stealing a click — and would your agent find it if you asked it the same narrow question the author asked GPT-5.6 Sol?

Top