Skip to content
XSS Write-up Intermediate

Discovering a Reflected XSS Filter Bypass: My Journey into Microsoft’s Support UAT Subdomain

A reflected cross-site scripting filter on a Microsoft support UAT subdomain could be bypassed by encoding characters in a way the filter did not handle, allowing script execution in a victim's browser. An attacker could use this to run scripts in a user's session, potentially leading to session hijacking or data theft.

ibrahimxss Follow

Published on ibrahimxss.medium.com

One quiet afternoon, my curiosity led me to explore Microsoft’s Support UAT subdomain: https://support-uat.microsoft.com. Driven by a passion for cybersecurity and a keen eye for potential vulnerabilities, I embarked on a journey that would soon reveal a significant security flaw.

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 input filter only HTML-encoded some characters and did not correctly handle numeric character references, allowing a crafted payload to bypass the encoding and execute as script.

Impact

This could allow an attacker to execute scripts in a user's browser session, potentially leading to session hijacking, data theft, or malicious redirections.

What the attacker needed

Victim clicks a crafted link

The fix

The input sanitisation should be reviewed and strengthened to properly encode all characters and prevent bypasses.

How it was found

  1. Navigate to the support UAT site.
  2. Enter a crafted payload into the search field.
  3. Observe that the browser executes the script and shows an alert.

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 when a website shows text from a user without making it safe, so an attacker can sneak in code that runs in other people's browsers. Here, the site tried to block this by turning special characters into harmless codes, but the attacker found a way to encode characters that the filter missed, so the code still ran. This could let an attacker steal a user's session or do things on their behalf.

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.