Dear Codeforces community. recently, kostia244 found out that codeforces parses custom CSS & HTML in this comment: https://codeforces.net/blog/entry/82468?#comment-693536
This could potentially be exploited by putting a malicious URL to steal a user's cookies and login sessions. Obviously making a PoC would be illegal but I would like to discuss whether or not that's even possible, and if so notify the admins to fix.
This is could be dangerous, this text is not even a part of the image
https://www.mike-gualtieri.com/posts/stealing-data-with-css-attack-and-defense
I don't see any way this could be abused.
ancientDab
none of the xss attacks I tried worked, but you can still do some funny shit
a trick to get stuff outside of the comment box is to wrap an outer element around something that has shitloads of margin
bruh moment