Firefox uBlock Origin Patches UXSS Flaw in Element Picker
Cybersecurity and privacy
Ad-blocking extension uBlock Origin patched a high-severity flaw in its Firefox version. The vulnerability allowed malicious sites to manipulate the Element Picker and inject filter rules capable of running cross-site JavaScript. Fixes including token validation and rule sanitization were introduced in versions 1.75.4 and 1.76.0.
Ad-blocking extension uBlock Origin has patched a high-severity vulnerability in its Firefox version that could lead to Universal Cross-Site Scripting (UXSS). Security advisories confirmed that version 1.75.2 and earlier were vulnerable, with subsequent releases addressing the issue. According to security research, the issue stemmed from the Element Picker feature. Attackers could retrieve the internal extension ID, load the picker into a hidden iframe, and leverage unvalidated postMessage inputs along with newline injection in filter fields to insert unauthorized JavaScript-executing rules. If users were tricked into clicking a hidden creation button, malicious rules could be stored and executed on other websites. Following notification, developers issued version 1.75.4 requiring secret token validation for the picker, and version 1.76.0 introduced additional rule syntax checks and temporary restrictions on built-in resource rules. The researcher noted that AI tools assisted in vulnerability discovery and proof-of-concept development. Updated builds addressing these and subsequent security issues have been released on the Firefox add-on platform.
Key takeaways
- The vulnerability affected Firefox uBlock Origin version 1.75.2 and earlier, enabling potential cross-site JavaScript execution via injected filter rules.
- The flaw arose from missing message origin checks in the Element Picker and inadequate sanitization of rule input fields.
- Patches starting with version 1.75.4 introduced secret token verification and enhanced rule inspection, with updated versions published to the add-on store.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.