Reflected XSS in Google Code Jam
A reflected cross-site scripting (XSS) vulnerability existed in the Google Code Jam scoreboard URL, where a crafted path containing an image tag with an onerror handler would execute script in the victim's browser. An attacker could exploit this to access the victim's CodeJam account and read or edit their profile information.
websecblog.com
Published on websecblog.com
Also, it seems like you have to open the homepage (https://codejam.withgoogle.com/2018/challenges/) at least once before visiting other pages there.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application inserted a URL path segment into a toast message without proper output encoding, allowing HTML and script injection.
Impact
An attacker could access the victim's CodeJam account and read or edit their profile information, but the XSS only fires in browsers that do not support CSP (e.g., Internet Explorer).
What the attacker needed
Victim uses a browser without CSP support; victim opens the homepage first; victim clicks a crafted link
The fix
The vulnerability was fixed according to the timeline.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is a flaw where a website displays user-supplied text without cleaning it, so a malicious link can run code in the victim's browser. Here, the scoreboard page showed part of the web address in a pop-up message, and that part could contain a script. If a logged-in user clicked the link, the script could act as that user on the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.