Oriel — AI & technology worth noticing, every day.

Universal XSS in uBlock Origin from website-driven element picker

Web page · https://iter.ca/post/ubo-uxss

First seen by Oriel on .

AI summary

The page details a fixed one-click universal XSS in uBlock Origin where website-driven element-picker messages could inject trusted filters and execute JavaScript on arbitrary sites.

  • The vulnerability affected the MV2 Firefox version of uBlock Origin, while a similar but less problematic issue affected the MV3 version, uBO Lite.
  • An attacker could leak the extension’s random Firefox UUID, embed the web-accessible element picker, and communicate with it through a MessageChannel.
  • A newline injected into the picker’s opt field bypassed normal restrictions, adding arbitrary trusted filters containing scriptlet code.
  • An invisible or overlaid picker iframe could trick a user into clicking Create, adding filters for arbitrary domains without leaving the attacker’s website.
  • The fixes include requiring a secret password from the content script; trusted filters otherwise remained trusted until a filter recompile.

#ublock origin #xss #browser extensions #web security

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 605, latest observation ; +600 over observed period since
  • Lobsters: 43, latest observation ; +42 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 175, latest observation ; +175 over observed period since
  • Lobsters: 0, latest observation ; 0 over observed period since

Aliases

SourceExternal IDURL
Hacker News50513160https://iter.ca/post/ubo-uxss/ Read discussion
Lobstersx0ykkwhttps://iter.ca/post/ubo-uxss/ Read discussion