From bc7a4cf8c514d5d06605f05dc10aafc0b1123752 Mon Sep 17 00:00:00 2001 From: Eva Date: Thu, 27 Mar 2025 00:59:18 +0100 Subject: [PATCH] client/markdown: prevent arbitrary tags Introduced in 0137cf383a81e0a2a0f5db7c2ded4b4a55c5e2fc, anywhere that allows markdown e.g. comments allowed any arbitrary tag that wasn't explicitly banned by DOMPurify, since it cannot know whether it came from our Markdown renderer or from the user. People could add arbitrary