MC1191924 Medium
Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection
Summary AI-generated
Microsoft Entra ID sign-in will enforce a stricter Content Security Policy, blocking non-Microsoft scripts and injected code, starting rollout in October 2026 to enhance security against XSS threats.
Suggested actions AI-generated
- Test sign-in flows for compatibility
- Replace tools/extensions that inject code into sign-in pages
Written by Azure OpenAI (gpt-4.1) from the text of the post below. It can be incomplete or wrong; the original post is authoritative.
Similar posts
Search for more like this-
MC1481309 Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection
Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection Microsoft Entra ID sign-in pages will enforce stricter Content Security Policy, allowing only trusted Microsoft-hosted scripts and blocking external injections to enhance security. ...orms and services Microsoft Entra ID Web-based.
-
MC1518029 Microsoft Entra ID: Risk-based anti-bot verification (CAPTCHA) for SMS and voice authentication
Microsoft Entra ID: Risk-based anti-bot verification (CAPTCHA) for SMS and voice authentication Entra ID adds risk-based anti-bot CAPTCHAs to reduce telephony-based authentication abuse; some users may see extra verification before SMS/voice codes are sent. Updated October 26, 2026: We have updated the timeline. Thank you for ... [What and why].
-
MC1551151 (Updated) Microsoft Entra ID: Risk-based anti-bot verification (CAPTCHA) for SMS and voice multi-factor authentication
(Updated) Microsoft Entra ID: Risk-based anti-bot verification (CAPTCHA) for SMS and voice multi-factor authentication Microsoft Entra ID adds safeguards: SMS and voice MFA users may be prompted for CAPTCHA anti-bot verification before receiving codes or calls. [What and why] Microsoft Entra ID is adding safeguards to protect telephony-based.
-
MC1303719 (Updated) Microsoft Entra: Upcoming changes to federatedTokenValidationPolicy default settings
(Updated) Microsoft Entra: Upcoming changes to federatedTokenValidationPolicy default settings Microsoft Entra will enforce stricter default federatedTokenValidationPolicy, blocking federated sign-ins when internalDomainFederation doesn't match user UPN domain by end of August 2026. Updated August 18, 2026: We have updated the timeline..
-
MC1247893 (Updated) Microsoft Entra passkeys on Windows now support phishing-resistant sign-in
(Updated) Microsoft Entra passkeys on Windows now support phishing-resistant sign-in Microsoft Entra passkeys on Windows enable phishing-resistant, passwordless sign-in using Windows Hello methods; opt-in public preview starts late March 2026 for expanded device coverage. [Introduction] We’re introducing Microsoft Entra passkeys on Windows to.
-
MC1411574 (Updated) Microsoft Entra: System-preferred authentication now applies to first-factor authentication
(Updated) Microsoft Entra: System-preferred authentication now applies to first-factor authentication System-preferred authentication in Microsoft Entra ID now applies to both first-factor and second-factor authentication when in Microsoft managed state, enhancing sign-in security. Updated August 24, 2026: We have updated the timeline. [What and.
Original post from Microsoft
Introduction
As part of Microsoft’s Secure Future Initiative, we’re updating our Content Security Policy for the Microsoft Entra ID sign-in experience. This change adds an extra layer of protection by allowing only scripts from trusted Microsoft domains to run during authentication, blocking unauthorized or injected external code. This proactive measure helps safeguard users against threats like cross-site scripting (XSS), further strengthening security for your organization.
When this will happen
General Availability (Production/Worldwide only):
- Rollout begins mid-October 2026
- Expected completion by late October 2026
Periodic communications will be sent closer to release.
How this affects your organization
Who is affected:
- Organizations using browser-based sign-in experiences on URLs starting with login.microsoftonline.com.
- No impact to Microsoft Entra External ID tenants.
What will happen:
- A new Content Security Policy header will be added to Microsoft Entra sign-in pages.
- Scripts will only be allowed from Microsoft trusted CDN domains.
- Inline script execution will only be allowed from trusted Microsoft sources.
- Browser extensions or tools that inject code into the sign-in page will stop working, though users can still sign in.
What you can do to prepare
- If you do not use tools or extensions that inject code into the sign-in experience, no action is required.
- If you do use such tools, switch to alternatives that don’t inject code.
- Test your sign-in flows thoroughly before rollout to identify and resolve any issues early. Testing instructions can be found on our CSP Guide for Microsoft Entra ID.
Learn more:
- Content Security Policy Overview for Microsoft Entra ID
- Microsoft Entra ID Content Security Policy Public Blog Post on Techcommunity
- Microsoft Secure Future Initiative
- The CSP nonce guide | Content Security Policy (CSP) quick reference guide
- The CSP script-src directive guide | Content Security Policy (CSP) quick reference guide
- Why XSS still matters: MSRC’s perspective on a 25-year-old threat | Microsoft Blog
Compliance considerations
No compliance considerations identified; review as appropriate for your organization.
Additional details from Microsoft
- Summary
- Microsoft Entra ID will enhance authentication security by enforcing a Content Security Policy that blocks external script injection, allowing only trusted Microsoft scripts. This rollout begins mid-October 2026, affecting browser-based sign-ins on login.microsoftonline.com, with no impact on Entra External ID tenants.