Re:We pwned X, Vercel, Cursor, and Discord through a supply-...
by rslashuser on Friday December 19, 2025 @01:38AM
(#46322879)
I had the impression from elsewhere in this thread that loading the svg in some other way, then you are not protected. This makes a no-brainer "don't run these ever" option in the browser seem appealing.
Re:We pwned X, Vercel, Cursor, and Discord through a supply-...
by zahlman on Friday December 19, 2025 @03:52PM
(#46330759)
> This makes a no-brainer "don't run these ever" option in the browser seem appealing.
Firefox has this: svg.disabled in about:config. It doesn't seem to be properly documented, and might cause other problems for the developer (I found it accidentally, and a more deliberate search turns up mainly bug tracker entries.)
Sanitizing is hard to get right by comparison (svgs can reference other svgs) but it's still a good idea.