TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Content Injection Attack on GitHub

158 pointsby Lapz12 months ago

14 comments

fscaramuzza12 months ago
GH just fixed it, but there&#x27;s a snapshot from few hours ago: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240608060046&#x2F;https:&#x2F;&#x2F;github.com&#x2F;younesbram&#x2F;younesbram" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240608060046&#x2F;https:&#x2F;&#x2F;github.co...</a>
评论 #40617222 未加载
评论 #40618171 未加载
评论 #40617829 未加载
wokwokwok12 months ago
You can see in the commit log from on <a href="https:&#x2F;&#x2F;github.com&#x2F;younesbram&#x2F;younesbram&#x2F;commit&#x2F;4282312e4ec38ab20bb5469cc298b24e142d99d5">https:&#x2F;&#x2F;github.com&#x2F;younesbram&#x2F;younesbram&#x2F;commit&#x2F;4282312e4ec3...</a> where the first PoC commit is pushed up.<p>The thing I find interesting is that this wasn&#x27;t a random discovered; like, you look at the first commit in the sequence and you&#x27;ll see.<p>&gt; \ce{$\unicode[goombafont; color:red; pointer-events: none; ...<p>ie. This isn&#x27;t some random chance discovery.<p>This is someone looking to use a specific exploit with the ```math tag, already certain that there&#x27;s some way of doing it.<p>How strange.
评论 #40615931 未加载
评论 #40616376 未加载
评论 #40615933 未加载
pandaxtc12 months ago
I think the \unicode CSS injection used here was reported to the MathJax library a few months ago - <a href="https:&#x2F;&#x2F;github.com&#x2F;mathjax&#x2F;MathJax&#x2F;issues&#x2F;3129">https:&#x2F;&#x2F;github.com&#x2F;mathjax&#x2F;MathJax&#x2F;issues&#x2F;3129</a>
dayjaby12 months ago
Explanation for this with a better link: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40615804">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40615804</a>
评论 #40616634 未加载
评论 #40616370 未加载
评论 #40617336 未加载
rvnx12 months ago
Source-code: <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;younesbram&#x2F;younesbram&#x2F;main&#x2F;readme.md" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;younesbram&#x2F;younesbram&#x2F;main...</a><p>(Injection in LaTeX math tags)
tempodox12 months ago
I don&#x27;t get this. It shows some mangled text that looks like defaced CSS, accompanied by the error message “Extra open brace or missing close brace”. How is this content injection?<p>But the rescue murloc is cute.
评论 #40616738 未加载
评论 #40616425 未加载
moritzwarhier12 months ago
Saw this last night (in Europe), was posted with a different image<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40614571">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40614571</a><p>but that one of course stopped working too<p>working snapshot (mildly nsfw):<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240607215223&#x2F;https:&#x2F;&#x2F;github.com&#x2F;stong" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20240607215223&#x2F;https:&#x2F;&#x2F;github.co...</a><p>there&#x27;s another one from 2 hours earlier but that misses the cool rotating cube.
acheong0812 months ago
Does this still work? Opened in Safari and don’t see anything out of place
评论 #40616133 未加载
评论 #40616713 未加载
mmsc12 months ago
Other than I love Samy, are many real-world examples of XSS being exploited for massive takeover of some service? I can&#x27;t say I remember any news of a &quot;website&#x2F;service totally taken over due to XSS.&quot;
评论 #40616977 未加载
评论 #40616176 未加载
评论 #40616419 未加载
LASR12 months ago
So this opened in my GitHub iOS app at first and I was confused.
whamlastxmas12 months ago
Shame that either GitHub doesn’t have a bug bounty, or their program isn’t good enough to entice people to use it
评论 #40617840 未加载
评论 #40617340 未加载
janmo12 months ago
Funny at first, but this could have been exploited maliciously by let&#x27;s displaying a message telling the user he has been disconnected and redirecting him to a phishing page.
评论 #40617182 未加载
评论 #40616832 未加载
1023bytes12 months ago
Looks like this has been patched
dvh12 months ago
Well done