Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #33430

Closed (moved)
Open
Opened Feb 24, 2020 by Trac@tracbot

Disable downloadable fonts on Safest security level

Websites can circumvent measures by Tor Browser / NoScript to reject fonts.

Fonts can be injected as “application/font” data in base64 format, directly into the CSS! I discovered this at CSS Tricks... go figure. I've noticed this on another website since.

To replicate, go to the above site in Tor's highest security setting.

You'll see that the fonts are not your usual fonts.

Inspect the CSS and you'll see code like this to "import" the fonts:

@font-face { font-family:sentinel ssm a; src:url(data:application/x-font-woff2;base64,d09GMgABAAAAAFKQABIAAAAArzgAAFIsAAFNDgAAAAA etc etc); font-weight:400; font-style:normal }

The thing that struck me is that the embedded mime type is ‘application/x-font-woff2’. What other “application” types might be embed-able and usable/executable?

I did a search and didn't see this as a ticket.

Trac:
Username: dcent

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#33430