Skip to content
XSS Write-up Intermediate

Discovering 10 XSS Vulnerabilities: My Journey into Microsoft’s Support Platforms

A reflected cross-site scripting flaw existed in the search field of several Microsoft support domains, where user input was reflected into the page. The author bypassed the site's HTML and ASCII encoding to execute script in a victim's browser.

ibrahimxss Follow

Published on ibrahimxss.medium.com

On an ordinary day, my curiosity led me to explore Microsoft’s platforms, specifically focusing on potential vulnerabilities in the “Office” and Microsoft domains. I embarked on a meticulous journey to uncover hidden security flaws that could pose significant risks to users.

xss0r, on ibrahimxss.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 search parameter was reflected into the HTML without correct context-aware output encoding, and the encoding that was applied could be bypassed with crafted character sequences.

Impact

An attacker could run script in a victim's browser on Microsoft support pages, potentially stealing session tokens or manipulating content, and the author claims hundreds of domains were affected.

What the attacker needed

A Microsoft profile to log in; victim clicks a crafted link

How it was found

  1. Navigate to the support domain and log in with a profile.
  2. Type a test string in the search field and view the page source to see how it is reflected.
  3. Try special characters and observe that they are HTML- and ASCII-encoded.
  4. Use a crafted payload that bypasses the encoding to trigger script execution.

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.

When a website takes what you type in a search box and shows it back on the page, it must treat that text as plain text, not as code. Here the site tried to make the text safe by converting special characters, but the author found a way around that conversion. That let them run their own script in the browser of anyone who opened a crafted 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 ibrahimxss

View all

8 more disclosed reports, best first.

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.