From ddce89f12d3f15fb42e050baa54e0696c4483736 Mon Sep 17 00:00:00 2001 From: 0xPratik Date: Thu, 29 Oct 2026 18:03:28 +0545 Subject: [PATCH 1/2] fix(media): keep script-capable sources out of links and frames Addresses findings 2, 3 and 4 of #142. 2. The Download link reused the media-element allowlist, which lets a data:image/svg+xml through: safe in an , but as a target="_blank" href it opens an SVG document that can run script. The link now uses a "link" sink (the old "frame" sink, renamed now that no frame uses it) that takes only http:, https: and blob:. A data: image still shows; it is just not offered for download. 3. PDFs rendered in an unsandboxed