Automated Threat Modeling

Brief Summary: CVE-2026-42897 Microsoft Exchange Server OWA Cross Site Scripting Vulnerability Actively Exploited in the Wild

A short review of CVE-2026-42897, an actively exploited cross-site scripting vulnerability in Microsoft Exchange Server's Outlook Web Access. It enables spoofing and arbitrary JavaScript execution, and no permanent patch is available yet.

CVE Analysis

6 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2026-05-14

Brief Summary: CVE-2026-42897 Microsoft Exchange Server OWA Cross Site Scripting Vulnerability Actively Exploited in the Wild
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Attackers are actively exploiting a cross-site scripting vulnerability in Microsoft Exchange Server's Outlook Web Access to execute arbitrary JavaScript in authenticated user sessions, and Microsoft has not yet released a permanent fix. Exploitation is confirmed in the wild and only temporary mitigations exist, so on-premises Exchange administrators need to act on incomplete remediation rather than wait for a clean patch.

Technical information

CVE-2026-42897 is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and affects the Outlook Web Access (OWA) component of Microsoft Exchange Server. The root cause is that OWA does not properly sanitize input before rendering it in the pages it serves, which makes cross-site scripting possible.

Attack flow

The exploitation path is straightforward:

  1. The attacker crafts an email containing a malicious payload.
  2. The attacker sends the email to a targeted user whose organization runs an on-premises Exchange Server.
  3. The recipient opens the email in Outlook Web Access in their browser.
  4. When specific interaction conditions are met, the payload executes arbitrary JavaScript in the context of the victim's authenticated browser session.

Because the JavaScript runs in the victim's session, the attacker can access session data, perform actions on the user's behalf, and potentially exfiltrate sensitive information.

CVSS 3.1 breakdown

The vulnerability has a base score of 8.1. The individual metrics are:

MetricValueImplication
Attack VectorNetworkExploitable remotely across the internet
Attack ComplexityLowNo specialized conditions required, and repeatable success expected
Privileges RequiredNoneNo prior authorization needed to initiate the attack
User InteractionRequiredVictim must open the crafted email in OWA
Confidentiality ImpactHighTotal loss of confidentiality for affected resources
Integrity ImpactHighMalicious modification of data is possible
Availability ImpactNoneNo disruption to service availability

An attack that needs no privileges, has low complexity, and hits confidentiality and integrity hard is particularly dangerous, even though the victim still has to open the email.

Affected systems and versions

Microsoft has confirmed that all update levels of the following on-premises Exchange Server products are vulnerable:

ProductImpacted VersionsPermanent Update Available
Microsoft Exchange Server Subscription EditionAll update levels including RTMNo
Microsoft Exchange Server 2019All update levels including CU 14 and CU 15No
Microsoft Exchange Server 2016All update levels including CU 23No

Exchange Online (cloud-hosted) is not listed as affected. The vulnerability is specific to on-premises deployments, which accounted for approximately 16 percent of Exchange mailboxes worldwide as of late 2023.

Mitigation

No permanent security update is available, and Microsoft did not release any security update for Exchange Server in May 2026. Organizations must apply temporary mitigations instead.

The fastest route is the Exchange Emergency Mitigation Service (EM Service), which automatically applies a mitigation designated M2. M2 uses an IIS URL Rewrite configuration to block specific patterns of malicious HTTP requests associated with this vulnerability.

The EM Service is enabled by default on Exchange Server 2016 and 2019 servers running the September 2021 Cumulative Update or later. Administrators should confirm that the mitigation has been applied by checking the server's applied mitigations list with PowerShell. If the EM Service is disabled, Microsoft strongly recommends enabling it immediately.

Exchange On Premises Mitigation Tool (air-gapped environments)

For environments that cannot reach the cloud-based EM Service, Microsoft provides the Exchange On Premises Mitigation Tool. Administrators can download the latest version of the script and run it from an elevated Exchange Management Shell to apply the mitigation manually on one or more servers.

Known side effects

The mitigation causes two OWA regressions that administrators should warn their users about:

FeatureIssueWorkaround
OWA Print CalendarFails to work completelyCopy data, take screenshots, or use the Outlook Desktop client
Inline ImagesMay not display correctly in the OWA reading paneSend images as email attachments or use the Outlook Desktop client

Threat intelligence

Microsoft's exploitability assessment confirms that exploitation of CVE-2026-42897 has been detected in the wild. The vulnerability was not publicly disclosed before it was exploited, so attackers were using it as a zero-day before Microsoft published its advisory on May 14, 2026.

As of this writing, CISA has not added CVE-2026-42897 to its Known Exploited Vulnerabilities catalog. Organizations should not read the missing KEV entry as a sign of low risk. The vendor itself has confirmed active exploitation.

The available security advisories do not attribute the exploitation to a specific threat actor or describe any campaign.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization