Skip to content
XSS Disclosed report Intermediate

Xss was found by exploiting the URL markdown on http://store.steampowered.com

The widget embed feature on the Steam store rendered a crafted markdown URL parameter without proper sanitisation, allowing an onclick handler to be injected into the generated link. An attacker could send a victim a crafted widget link and run script in the store's origin when the link was clicked.

kenziy Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium View original
  • Fixed in 3 hours
  • Paid in 3 hours
  • Disclosed after 3 months

Hello guys I found an xss vulnerability on store.steampowered.com markdown

#POC http://store.steampowered.com/widget/386360/?t=[url=google.com:/onclick=%27alert(document.domain)%27[url=]]xss[/url]

#Here is my exploit

[url=google.com:/onclick='alert(document.domain)'[url=]]xss[/url]

#Steps 1 - go to any product 2 - click embed 3 - The markdown for widgets area is vulnerable

vulnerable-area.png
vulnerable-area.png From the original on HackerOne

4: http://store.steampowered.com/widget/386360/?t=[url=google.com:/onclick=%27alert(document.domain)%27[url=]]xss[/url]

xss.png
xss.png From the original on HackerOne

My research was only limited on the widgets area I'm not totally sure if other markdown that is using [url=site.com] are vulnerable also. I will continue my research for this coz I believe it has some other area that are still affected by this issue.

Cheers Kenziy

Impact

XSS attack was possible by sending the vulnerable link to the target

The original report as published on HackerOne, by kenziy. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Script execution in the store's origin was possible by sending the vulnerable link to a target, though the report does not show it firing without a click.

What the attacker needed

Victim opens the crafted widget link

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 report has not been written yet. The Original tab links to the source.

Markdown is a simple way of writing formatted text, and here a link written in markdown was turned into HTML without cleaning it first. Because of that, an attacker could sneak in a small script that runs when someone clicks the link, which is called cross-site scripting (XSS).

What is XSS?

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

More by kenziy

View all

2 more disclosed reports, best first.

More from Valve

View all

The newest disclosed reports for this program.

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.