Universal XSS in uBlock Origin from website-driven element picker(iter.ca)
602 points by zaik 14 days ago | 175 comments
tl;dr: A researcher (with help from GPT-5.6) found a universal XSS in uBlock Origin where a malicious site could leak the Firefox extension's random UUID via a hooked XHR in a default filter rule, then embed the element picker in an invisible iframe and send it crafted postMessages to inject arbitrary trusted scriptlet filters. A newline-injection in the `opt` field bypassed restrictions on scriptlet filters, allowing arbitrary JS execution on any site after a single user click. The issue is now patched, partly by requiring a secret password in the picker's initial message.
HN Discussion:
  • ↑Extensions injecting UI into website DOM is architecturally problematic and leaks information
  • ↑Browsers should provide sandboxed DOM or chrome-level UI to prevent such vulnerabilities
  • ↑Users should increase blocking levels or use profile isolation as defensive measures
  • •Appreciation for transparent disclosure of AI assistance in finding the vulnerability
  • •Practical questions about version numbers, affected forks, and remediation steps