MC1481309 High
Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection
Summary AI-generated
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.
Suggested actions AI-generated
- Review CSP guidance for script-injecting tools
- Test authentication workflows
- Replace or update affected solutions
- Notify help desk and identity teams
- Update internal documentation if needed
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-
MC1191924 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 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. Introduction ... This change adds an.
-
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..
-
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.
-
MC1400824 (Updated) Microsoft Entra: Self-service password reset CAPTCHA protection updated
(Updated) Microsoft Entra: Self-service password reset CAPTCHA protection updated Microsoft Entra SSPR is replacing legacy CAPTCHA with backend throttling and behavior-based abuse detection to enhance security, accessibility, and reliability; no admin action required. Updated July 20, 2026: We have updat... [What and Why] We are updating bot.
-
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].
-
MC1395007 Microsoft Entra: New service plans for Conditional Access and ID Protection for agents
Microsoft Entra: New service plans for Conditional Access and ID Protection for agents Microsoft adds Entra Conditional Access and ID Protection service plans for agents to Microsoft Agent 365 and Microsoft 365 E7, enabling secure agent management with simplified licensing. [What and Why] Microsoft is adding new Microsoft Entra service plans for .
Original post from Microsoft
[What and why]
As part of Microsoft's Secure Future Initiative, we are strengthening the security of the Microsoft Entra ID sign-in experience by introducing additional Content Security Policy (CSP) protections. This change helps protect users from threats such as cross-site scripting (XSS) by allowing only trusted Microsoft-hosted scripts to run during authentication and blocking unauthorized or externally injected code.
This post is a reminder of our previous announcement (MC1191924), which communicated this upcoming security change and the actions organizations may need to take before rollout.
[Rollout schedule]
- General Availability (Worldwide): Beginning in mid-October 2026 and expected to complete by late October 2026
[Impact on your organization]
Who is affected
- Organizations whose users authenticate through Microsoft Entra ID sign-in pages hosted on login.microsoftonline.com
- Organizations using browser extensions, monitoring tools, customization tools, or other solutions that inject scripts into the sign-in experience
- Microsoft Entra External ID tenants are not affected
Platforms and services
- Microsoft Entra ID
- Web-based authentication experiences using login.microsoftonline.com
- Browser-based sign-in experiences across supported browsers
What will happen
- A new Content Security Policy (CSP) header will be added to Microsoft Entra ID sign-in pages.
- Scripts will be permitted only from trusted Microsoft content delivery network (CDN) domains.
- Inline script execution will be restricted to trusted Microsoft-authorized sources.
- Browser extensions and tools that inject scripts into Microsoft Entra ID sign-in pages may stop functioning.
- Users will continue to be able to sign in even if unsupported script injection tools no longer function.
- This change is enabled by default as part of the service update and does not require tenant configuration.
- Microsoft Authentication Library (MSAL) and API-based authentication flows are not affected because CSP enforcement applies only to browser-based sign-in experiences using login.microsoftonline.com.
[Action required and recommendations]
If your organization does not use tools or extensions that inject code into Microsoft Entra ID sign-in pages, no action is required.
If your organization uses tools that inject code into the sign-in experience:
- Review the CSP guidance and assess whether any tools, browser extensions, or custom solutions rely on script injection.
- Test affected authentication workflows ahead of rollout.
- Replace or update any solutions that depend on script injection into Microsoft Entra sign-in pages.
- Communicate potential impacts to help desk and identity administration teams.
- Update internal documentation if it references affected authentication customizations.
Learn more
- Content Security Policy (CSP) rollout in Microsoft Entra ID - Microsoft identity platform | Microsoft Learn
- CSP ⟶ script-src Guide
- CSP Nonce ⟶ Script & Style Attribute
- Enhance protection of Microsoft Entra ID authentication by blocking external script injection | Microsoft Community Hub
- Secure Future Initiative – Secure by Design | Microsoft
- why-xss-still-matters-msrcs-perspective-on-a-25-year-old-threat
[Compliance considerations]
No compliance considerations identified. Review as appropriate for your organization.
Additional details from Microsoft
- Summary
- Microsoft Entra ID will enhance sign-in security by enforcing a Content Security Policy blocking external script injection starting mid-October 2026. Only trusted Microsoft scripts will run, affecting organizations using script-injecting tools on login.microsoftonline.com. No action needed if such tools aren't used.