Does Tor NoScript Block Malicious Fonts and Media?

NoScript in Tor Browser provides robust protection against malicious fonts and media, but the extent of this protection depends directly on the chosen Security Level. While the default “Standard” setting allows most content to run to preserve website usability, elevating Tor’s security settings to “Safer” or “Safest” leverages NoScript and underlying Firefox mechanisms to restrict web fonts, click-to-play media, and remote code execution vulnerabilities.

How NoScript Protects Against Malicious Fonts

Remote web fonts (such as those loaded via CSS @font-face rules) have historically been a vector for remote code execution and browser fingerprinting. Attackers can exploit parsing bugs in underlying operating system font renderers (such as FreeType, DirectWrite, or CoreText) to execute arbitrary code.

How NoScript Protects Against Malicious Media

HTML5 audio and video elements, WebGL, and canvas elements can carry malicious payloads or be used to exploit decoder vulnerabilities inside the browser’s media framework.

Maximizing Your Protection

To ensure NoScript actively blocks dangerous fonts and media, you must adjust the Tor Browser Security Level rather than relying exclusively on default settings:

  1. Click the Shield icon next to the address bar in Tor Browser.
  2. Select Settings.
  3. Switch from Standard to Safer (blocks scripts on non-HTTPS sites and sets media to click-to-play) or Safest (disables JavaScript everywhere by default, blocks most web fonts, and completely restricts media autoplay).

By utilizing these higher tiers, NoScript effectively isolates you from malicious fonts, media decoders, and script-based web vulnerabilities.