Microsoft Authentication Library for JavaScript Spoofing Vulnerability (CVE-2026-108469)
The Microsoft Authentication Library for JavaScript fails to neutralise input during web page generation, which is a cross-site scripting flaw. An unauthorised attacker could use it to perform spoofing over a network, but only when an application has enabled the optional popup relay feature and deployed its relay page without a Content Security Policy that blocks the attack.
Originally disclosed on Microsoft
Description
Improper neutralization of input during web page generation ('cross-site scripting') in Microsoft Authentication Library for JavaScript allows an unauthorized attacker to perform spoofing over a network.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation requires an application to have enabled the optional popup relay feature and deployed its relay page without a Content Security Policy that blocks the attack. The attacker cannot configure these settings on the victim application.
Microsoft Authentication Library for JavaScript
Microsoft Authentication Library for JavaScript
Microsoft
Microsoft
Customer Action Required
Yes
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 library does not properly neutralise user-controlled input when generating the popup relay page, allowing injected content to run in the browser.
Impact
An attacker could perform spoofing over a network, but only against applications that enabled the optional popup relay feature and deployed its relay page without a Content Security Policy that blocks the attack.
What the attacker needed
Optional popup relay feature enabled; relay page deployed without blocking CSP; attacker cannot change victim settings
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 is a cross-site scripting bug, meaning a library that builds web pages can let attacker-supplied text be treated as code by the browser. Here the affected part is an optional 'popup relay' page used during sign-in, and the attacker could make that page show something misleading (spoofing). It only works if the application turned that optional feature on and did not add a Content Security Policy, which is a browser rule that blocks such injected code.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.