Re:Universal XSS in uBlock Origin from website-driven elemen...
by mook on Monday November 16, 2026 @02:12AM
(#50514908)
XUL extensions could essentially open pop-up windows (the way context menus do), so yes. It can be fully transparent if needed, I believe.
You can probably drop an absolutely positioned block (relative to the browser chrome, outside the tabbrowser) too, but I think that didn't work in some older versions?
Note that this is all based on very vague memories, so may be off… Also, both scenarios don't bother injecting anything inside the content. This unfortunately means you need to do some annoying math to position things correctly (in particular if funny DPIs are involved).
You can probably drop an absolutely positioned block (relative to the browser chrome, outside the tabbrowser) too, but I think that didn't work in some older versions?
Note that this is all based on very vague memories, so may be off… Also, both scenarios don't bother injecting anything inside the content. This unfortunately means you need to do some annoying math to position things correctly (in particular if funny DPIs are involved).