Skip to content
XSS Write-up Beginner

How I found Multiple Bugs on CHESS.COM & they refused

The author found a JavaScript crash on Chess.com user profiles that could hide a profile from others, and an HTML injection in messages allowing fake login prompts. The report was initially rejected but later marked as a duplicate and rewarded with a membership.

medium.com

Published on medium.com

I bet you have heard about Chess.comeven if you are just a little bit involved in the “chess world”. I have been playing and using their platform for around 6 years and I genuinely enjoy it.

StvRoot, on medium.com

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 user status field and message input were not properly sanitised, allowing JavaScript to crash the page and HTML to be injected.

Impact

An attacker could hide a user's profile from others and inject fake messages, potentially leading to phishing.

What the attacker needed

A Chess.com account

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.

A JavaScript crash means a script on the page stops working, which can break parts of the website. HTML injection lets an attacker insert their own HTML code into a page, which can be used to show fake messages or links. The author found these issues on Chess.com and reported them.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.