From 74972309901a376c5f2f8f3e134ae3740e07ca62 Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 15 Mar 2026 11:54:52 +0100 Subject: [PATCH] Fix security vulnerabilities found in security review - Add Content-Security-Policy meta tag restricting external resources - Add sanitizeEvent/sanitizeTimeline to validate/allowlist data from localStorage and imported JSON - Escape ev.thumbnail in SVG with xe() to prevent javascript: URL injection - Escape dynamic IDs in inline onclick handlers with esc() throughout Co-Authored-By: Claude Sonnet 4.6 --- index.html | 68 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 56 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 4a221cb..8062cde 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + Timelineifyer