News for hackers. Stuff that matters.
Re:CSS in GitHub Readmes by guessmyname on Tuesday December 08, 2020 @01:47PM (#25349656)
Yes, that’s what I am thinking. I can imagine hundreds of security researchers writing a proof of concept to report this “feature” as a security problem to GitHub’s bug bounty program.
Re:CSS in GitHub Readmes by bamboleo on Tuesday December 08, 2020 @02:06PM (#25349892)
There’s nothing to report. For all intents and purposes SVG files are treated exactly like images. All interactivity and even the ability to load other resources is disabled.

FYI millions of readmes have had SVG badges for years.

Re:CSS in GitHub Readmes by fractionalhare on Tuesday December 08, 2020 @02:48PM (#25350390)
Pretty sure they're just making a joke that a lot of bug bounty programs get tons of bullshit reports from security "researchers" who don't understand what they're doing. They're not actually claiming there's a legitimate issue.
Re:CSS in GitHub Readmes by xml on Wednesday December 09, 2020 @01:27AM (#25355915)
There are SVGs which will crash most browsers, so SVGs could still be abused for denial-of-service attacks.

For example, you could post one of those SVGs in every issue thread of a GitHub project if you wanted to mess with someone.

Not eligible for a bug bounty though since this issue has been known (but not fixed) for years.

Re:CSS in GitHub Readmes by jancsika on Tuesday December 08, 2020 @04:30PM (#25351622)
I'm not sure that's true.

For example, what happens when you right-click "View image" on an svg file? Does embedded JS get run in that case?

Re:CSS in GitHub Readmes by throw_m239339 on Wednesday December 09, 2020 @01:29AM (#25355919)
> For example, what happens when you right-click "View image" on an svg file? Does embedded JS get run in that case?

Servers can use CSP http headers to disable javascript execution completely AFAIK. Obviously older browsers like IE that do not support CSP will be vulnerable, but at that point, IE should be simply banned by Webservers, for the sake of the user.