Skip to content
XSS Write-up Beginner

XSS in microsoft

A reflected cross-site scripting flaw existed in the search bar of a Microsoft subdomain, allowing an attacker to run script in a victim's browser. The researcher reported it and Microsoft confirmed a fix.

hacker_eth Follow

Published on medium.com

They have provided me security acknowledgement in their website(hall of fame equivalent for microsoft) and also swag(for other vulnerabilty,which i cannot disclose now).

hacker_eth, 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

Impact

An attacker could run arbitrary script in a victim's browser on the Microsoft subdomain, potentially stealing session data or performing actions as the user.

What the attacker needed

Victim visits a crafted search URL

The fix

The issue was fixed, as confirmed by Microsoft.

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 puts user input into a page without making it safe, so an attacker can make the site run their own JavaScript. Here, typing a special tag into the search box made the page execute script, which could let an attacker steal data or act as the victim.

What is XSS?

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

More from Microsoft

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.