Skip to content
XSS Disclosed report Intermediate

Stealing xoxs-tokens using weak postMessage / call-popup redirect to current team domain

A weak postMessage implementation and a call-popup redirect flaw allowed an attacker's malicious site to steal XOXS tokens. The attacker could obtain these tokens by luring a victim to a malicious page.

Frans Rosén Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 4 days
  • Paid in 4 days
  • Disclosed after 11 days

Summary by the program

@fransrosen discovered a vulnerability which would allow an attacker running a malicious site to steal XOXS tokens. We resolved the postMessage and call-popup redirect issues, and performed a thorough investigation to confirm that this had never been exploited. Thanks @fransrosen for an interesting finding!

The original report as published on HackerOne, by fransrosen. 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

Root cause

Likely the postMessage handler did not properly check the origin of messages, and the call-popup redirect allowed sending the token to an attacker-controlled domain.

Impact

An attacker could steal XOXS tokens; the text gives no further exploitation details.

What the attacker needed

Victim visits malicious site

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.

This report describes a flaw where a bad website could steal a secret login token, letting an attacker act as you.

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 Frans Rosén

View all

26 more disclosed reports, best first.

More from Slack

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.