Microsoft patches Exchange Server zero-day exploited in attacks
Microsoft patched CVE-2026-42897, a high-severity cross-site scripting vulnerability in Exchange Server that attackers could exploit by sending a crafted email to a user; when opened in Outlook Web Access under certain conditions, arbitrary JavaScript could run in the browser. The flaw affects Exchange Server 2016, 2019, and Exchange SE, and was already being exploited in the wild. Microsoft released June 2026 security updates and urged admins to apply them and keep the embedded EEMS mitigations for added protection. The vulnerability was added to the CISA Known Exploited Vulnerabilities catalog on May 15, with federal agencies ordered to patch by May 29; this continues a trend of Exchange-related exploits over the last five years.

Microsoft patches Exchange Server zero-day exploited in attacks
Overview
- A critical, high-severity vulnerability in Microsoft Exchange Server has been patched after active exploitation in the wild. The flaw enables threat actors to run arbitrary JavaScript in the browser through cross-site scripting (XSS) when users access Outlook Web Access (OWA).
- The vulnerability is tracked as CVE-2026-42897 and affects Exchange Server 2016, Exchange Server 2019, and Exchange Server Subscription Edition (SE). Exploitation can occur without any privileges on the attacker’s side.
- Microsoft and government agencies responded with both automatic mitigations and formal security updates to prevent further exploitation.
Technical Details of the Vulnerability
- Nature of the flaw: A spoofing vulnerability that enables cross-site scripting (XSS) in the OWA context. An attacker can craft email content that, when opened under certain conditions, executes JavaScript in the user’s browser.
- Attack surface: Targeted users who access Exchange-hosted mail via Outlook Web Access. If the recipient interacts with the malicious email in a specific way, the browser context can be compromised.
- Exploitability: Requires no local privileges; remote attackers can trigger the issue by sending a specially crafted email.
Affected Products and Scope
- Exchange Server 2016
- Exchange Server 2019
- Exchange Server Subscription Edition (SE)
- The vulnerability is exploitable by threat actors who can reach the victim’s OWA interface and entice interaction with a malicious message.
Initial Mitigations and Security Response
- Mid-May mitigation: Microsoft rolled out automatic temporary mitigations through the Exchange Emergency Mitigation Service (EEMS) to reduce exposure while a permanent patch was developed.
- Ongoing guidance: The Exchange Team publicly described the vulnerability and the conditions under which arbitrary JavaScript could be executed. The mitigation was described as an additional defensive layer to complement future updates.
- Vendor response: Microsoft released security updates in June 2026 to address CVE-2026-42897 and advised administrators to apply them promptly, while maintaining the mitigations for enhanced protection.
Patch Release and Administrative Guidance
- Security updates: Microsoft published June 2026 security updates addressing the vulnerability across affected Exchange Server deployments.
- Administration guidance: Administrators were urged to deploy the June 2026 patches as soon as possible and to maintain the mitigation measures to ensure continued protection as further improvements are released.
- Protective posture: The updates are designed to close the exploited pathway and reduce exposure to cross-site scripting attacks against OWA users.
Regulatory and Industry Response
- Government coordination: The Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-42897 to its Known Exploited Vulnerabilities (KEV) catalog, signaling a serious, actively exploited threat.
- Federal timelines: U.S. government agencies were directed to patch affected systems within a two-week window, with a target completion date set at May 29.
- Historical context: Over the past five years, CISA has added 20 Microsoft Exchange Server vulnerabilities to the KEV list, with ransomware groups responsible for exploiting 14 of them.
- End-of-support context: In October (year not specified in the record), weeks after Exchange 2016 and 2019 reached the end of support, CISA and the NSA issued guidance on hardening Exchange servers against similar threats.
Security Posture and Defensive Insights
- Breach detection statistics: Security teams currently log only a portion of successful attacks, with a notable gap between detection and alerting.
- Breach simulation value: Independent assessments and whitepapers emphasize the importance of testing defenses under realistic breach conditions to identify gaps in SIEM and EDR configurations.
- Practical takeaway: Ongoing, multi-layered defense—encompassing patch management, network hardening, and proactive security testing—remains essential to reduce dwell time and prevent post-exploitation activities.
Context and Related Considerations
- Priorities for defenders include keeping Exchange servers up to date with the latest security updates, maintaining temporary mitigations where advised, and ensuring that monitoring and alerting rules are tuned to recognize suspicious OWA activity related to cross-site scripting attempts.
- The broader landscape includes a history of Exchange-related vulnerabilities that have been exploited in the wild, underscoring the need for disciplined patch management and rapid response planning.
Summary of Key Points
- CVE-2026-42897 is a high-severity XSS vulnerability in Exchange Server that enables arbitrary JavaScript execution in the browser via OWA after a crafted email is opened.
- Affected products are Exchange Server 2016, 2019, and SE; exploitation does not require privileges.
- Microsoft implemented automatic mitigations through EEMS in mid-May and released June 2026 security updates to address the flaw.
- CISA categorized the vulnerability as exploited in the wild and mandated timely patching for federal agencies, reflecting the broader risk profile of Exchange vulnerabilities over recent years.
- End-user exposure and organizational risk are influenced by the effectiveness of patch deployment, the durability of mitigations, and the rigor of ongoing security testing and monitoring.






