]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/upload__95__figure.mdwn
Merge branch 'master' into sipb
[ikiwiki.git] / doc / todo / upload__95__figure.mdwn
index 52034c21bf9e283b16eeea686a64b13b35188de3..a63e183e8523447165529ca587fd750641b9115c 100644 (file)
@@ -8,3 +8,15 @@ Unfortunately, Github shows [[raw code|https://github.com/paternal/ikiwiki/blob/
 
 --[[Louis|spalax]]
 
+> Unfortunately SVG can contain embedded JavaScript, so anyone who can
+> upload arbitrary SVG to this wiki can execute JavaScript in its security
+> context, leading to stealing login cookies and other badness. GitHub
+> won't display arbitrary user-supplied SVG for the same reasons.
+>
+> I've seen various attempts to sanitize SVG via a whitelist, but it's
+> just too large a specification to be confident that you're right, IMO.
+>
+> This particular SVG [[looks good to me|users/smcv/ready]] and I've
+> mirrored it in my own git repo. --[[smcv]]
+
+>> [[merged|done]] --[[smcv]]