News for hackers. Stuff that matters.
Re:We pwned X, Vercel, Cursor, and Discord through a supply-... by skrebbel on Thursday December 18, 2025 @04:22PM (#46318946)
at this point I feel like it'd be useful for web server default configurations to include something like

    if extension == .svg
       set-header Content-Security-Policy: script-src 'none'
    end
wouldn't that stop a browser from running scripts, even if the svg file is opened directly? having this be widespread would solve it wholesale.
Re:We pwned X, Vercel, Cursor, and Discord through a supply-... by vpShane on Friday December 19, 2025 @03:32AM (#46323554)
Not a bad idea!