Microsoft to Block External Script Injection in Entra ID Sign-Ins Starting in October

· Original article ↗

Summary

Microsoft will enforce CSP rules for browser-based Entra ID sign-ins starting in mid-October 2026, allowing only trusted Microsoft-hosted scripts. Customers should stop using code-injecting browser tools; rollout is expected to finish by late October.

Key points

  • The update adds Content Security Policy (CSP) enforcement to browser-based Entra ID sign-ins, blocking unauthorized external scripts.
  • Only scripts from trusted Microsoft CDN domains will be allowed during authentication.
  • Microsoft expects the rollout to begin in mid-October 2026 and finish by late October; the change is enabled by default and requires no tenant configuration.
  • Microsoft advises customers to stop using browser extensions or tools that inject code into sign-in pages and to test sign-in flows for dependencies.
  • Administrators can use browser developer-console CSP violation messages to identify blocked scripts.
  • MSAL and API-based authentication flows are not affected; enforcement applies to browser-based sign-ins at login[.]microsoftonline[.]com.

Article Details

Event Type
Microsoft Entra ID security update adding Content Security Policy enforcement against external script injection during browser-based sign-ins.
Impact
The policy will allow only trusted Microsoft-hosted scripts during Entra ID browser sign-ins, blocking unauthorized or externally injected scripts and reducing risks such as cross-site scripting and credential theft. Microsoft says sign-in remains available if unsupported script-injection tools stop working; Microsoft Authentication Library and API-based authentication flows are unaffected.

Vendors

Products

Related Articles