CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-42897

CVE-2026-42897: Reflected Cross-Site Scripting in Microsoft Exchange Server OWA

Amit Schendel
Amit Schendel
Senior Security Researcher

May 15, 2026·5 min read·1056 visits

Executive Summary (TL;DR)

Actively exploited reflected XSS in Exchange Server OWA allows unauthenticated attackers to hijack authenticated sessions via crafted URLs. Microsoft released out-of-band updates and an IIS URL rewrite mitigation (EEMS M2) to address the flaw.

CVE-2026-42897 is a high-severity reflected Cross-Site Scripting (XSS) vulnerability affecting the Outlook on the web (OWA) component of Microsoft Exchange Server. The flaw stems from improper neutralization of user-supplied input during web page generation. Discovered as a zero-day and actively exploited in the wild, the vulnerability allows unauthenticated attackers to execute arbitrary JavaScript within the security context of a targeted user's session, facilitating session hijacking and identity spoofing.

Vulnerability Overview

Microsoft Exchange Server provides the Outlook on the web (OWA) component, functioning as a web-based email client for enterprise environments. OWA processes various HTTP requests, parsing URL parameters and query strings to render dynamic HTML content for authenticated users. This web interface represents a significant external attack surface, as it is frequently exposed directly to the internet to support remote workforce connectivity.

CVE-2026-42897 identifies a high-severity vulnerability within this OWA component, specifically categorized as CWE-79: Improper Neutralization of Input During Web Page Generation. The vulnerability manifests as a reflected Cross-Site Scripting (XSS) condition. Input parameters supplied via HTTP requests are not correctly validated or HTML-encoded before being returned in the server's HTTP response.

Threat actors are actively exploiting this vulnerability in the wild as a zero-day. Successful exploitation requires an attacker to convince an authenticated OWA user to click a specially crafted URL. Due to the lack of input sanitization, the OWA server reflects the attacker's payload, resulting in arbitrary JavaScript execution within the security context of the victim's session.

Root Cause Analysis

The root cause of CVE-2026-42897 lies in the server-side rendering logic of the Exchange OWA component. When a client initiates an HTTP GET request containing specific URL paths or query string parameters, the OWA application processes these values to generate the user interface. The vulnerability occurs because the application fails to apply context-aware output encoding before embedding these user-controlled values into the HTML Document Object Model (DOM).

In a secure implementation, characters with special syntactical meaning in HTML, such as angle brackets and quotation marks, must be converted to their corresponding HTML entities. The vulnerable OWA endpoint echoes the raw input directly back to the client. When the victim's browser parses the server response, it interprets the unsanitized input as executable code rather than plain text.

GET /owa/auth/logon.aspx?replaceCurrent=1&url=<script>alert(document.cookie)</script> HTTP/1.1
Host: mail.example.com

The resulting response contains the injected <script> tags without proper neutralization. Because the script originates from the legitimate OWA domain, it bypasses the Same-Origin Policy (SOP). The browser executes the payload under the assumption that the application intentionally served it, granting the script access to the DOM, session cookies, and local storage associated with the Exchange environment.

Exploitation Mechanics

Exploitation of CVE-2026-42897 requires the attacker to construct a malicious URL targeting a vulnerable OWA instance. The URL incorporates a JavaScript payload within the specific unsanitized parameters. Since the vulnerability is a reflected XSS, the attacker cannot store the payload on the server. Instead, they must deliver the crafted link to the target user via external channels, such as spear-phishing emails, SMS, or embedding it within a malicious website.

When the victim clicks the link, their browser issues a request to the Exchange server, appending any active session cookies to the request. The Exchange server processes the request and returns the HTML response containing the reflected JavaScript. The victim's browser executes the script immediately upon rendering the page.

The execution occurs within the context of the victim's active authentication session. The primary objective of the attacker's payload is typically session hijacking. The script extracts session tokens or authentication cookies and transmits them asynchronously to an attacker-controlled infrastructure. The attacker then uses these captured credentials to authenticate to the Exchange server, spoofing the victim's identity without requiring the underlying plaintext password.

Impact Assessment

The successful exploitation of CVE-2026-42897 results in unauthorized access to the victim's Exchange Web Services session. By capturing the session token, the attacker assumes the identity of the authenticated user. This allows the attacker to interact with the OWA interface directly, bypassing primary authentication mechanisms such as Multi-Factor Authentication (MFA), provided the session token remains valid.

Once the session is hijacked, the attacker gains access to the victim's mailbox. The attacker can read sensitive correspondence, exfiltrate file attachments, and send emails on behalf of the compromised user. This capability facilitates lateral movement within the organization, as the attacker can leverage the trusted internal account to launch further phishing campaigns or distribute malware to internal employees.

The Common Vulnerability Scoring System (CVSS) vector reflects the severity of this impact. The vulnerability carries a High base score of 8.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N). The confidentiality and integrity metrics are both rated as High because the attacker gains full read and write access to the targeted mailbox. The availability metric remains None, as the vulnerability does not inherently crash the Exchange service or deny access to legitimate users.

Remediation and Mitigation

Microsoft addressed CVE-2026-42897 through the release of out-of-band Security Updates (SUs) and Cumulative Updates (CUs) on May 14, 2026. Administrators must apply these updates to vulnerable Exchange Server 2016, 2019, and Subscription Edition environments. The patch introduces comprehensive input validation and output encoding routines to ensure that OWA parameters are properly sanitized before rendering.

In addition to the software patch, Microsoft deployed an emergency mitigation via the Exchange Emergency Mitigation Service (EEMS). The mitigation, identified as M2 (or M2.1), functions as an IIS URL Rewrite Rule. This rule actively inspects incoming HTTP requests directed at the OWA component and blocks patterns that match known exploitation vectors.

Get-ExchangeServer -Identity <ServerName> | Format-List Name,MitigationsApplied

Administrators can verify the successful deployment of the EEMS mitigation by querying the Exchange Server configuration using PowerShell. Organizations should also review Internet Information Services (IIS) logs for historical evidence of exploitation. Security teams should search for anomalous query strings or URL paths containing encoded script tags or unusual JavaScript methods accessing the OWA endpoints. Identification of such patterns indicates a potential compromise, requiring immediate password resets and session revocation for affected accounts.

Official Patches

MicrosoftMicrosoft Security Response Center Official Advisory

Technical Appendix

CVSS Score
8.1/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected Systems

Microsoft Exchange Server 2016Microsoft Exchange Server 2019Microsoft Exchange Server Subscription Edition

Affected Versions Detail

Product
Affected Versions
Fixed Version
Microsoft Exchange Server 2016
Microsoft
<= Cumulative Update 23Cumulative Update 23 May 2026 SU
Microsoft Exchange Server 2019
Microsoft
<= Cumulative Update 15Cumulative Update 14/15 May 2026 SU
Microsoft Exchange Server Subscription Edition
Microsoft
RTMMay 2026 SU
AttributeDetail
CWECWE-79
Attack VectorNetwork
CVSS Score8.1
ImpactSession Hijacking / High Confidentiality & Integrity
Exploit StatusActively Exploited
KEV StatusListed

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Credential Access
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Vulnerability Timeline

Microsoft Learn documentation updated to include placeholders for the EEMS M2 mitigation
2025-04-30
Microsoft officially discloses CVE-2026-42897
2026-05-14
Reports of active exploitation in the wild emerge
2026-05-14
Emergency M2 mitigation released via EEMS and EOMT
2026-05-14
NVD and CVE.org records finalized with High severity ratings
2026-05-15

References & Sources

  • [1]Microsoft Security Response Center (MSRC) Advisory
  • [2]Microsoft Learn - Exchange EM Service
  • [3]CVE.org Record
  • [4]Tenable CVE Database
  • [5]SecurityOnline Technical Report

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 10 hours ago•CVE-2026-9318
5.4

CVE-2026-9318: Stored Cross-Site Scripting via HTML Export in Jazzband tablib

CVE-2026-9318 is a stored cross-site scripting (XSS) vulnerability affecting Jazzband tablib versions prior to 3.10.0. The flaw is located in the HTML export functionality of multi-sheet Databook objects. Due to raw f-string interpolation, unsanitized sheet titles containing malicious script tags are rendered directly as HTML, allowing arbitrary client-side code execution in a victim's browser.

Amit Schendel
Amit Schendel
5 views•8 min read
•about 11 hours ago•CVE-2026-54917
10.0

CVE-2026-54917: Cross-Bucket Path Traversal and Authorization Bypass in SeaweedFS S3 and Iceberg Gateways

CVE-2026-54917 is a critical path traversal and authorization bypass vulnerability affecting the S3 and Iceberg REST catalog gateways in SeaweedFS. By explicitly disabling canonical path cleaning in the gorilla/mux routing system, relative path segments such as '..' are allowed to bypass routing constraints and access control checks. When these paths are collapsed server-side by the backend filer, they resolve to folders outside the authorized bucket boundary, allowing unauthorized cross-bucket access.

Amit Schendel
Amit Schendel
5 views•5 min read
•about 12 hours ago•GHSA-JWJP-4649-V8JP
7.5

GHSA-jwjp-4649-v8jp: Out-of-Bounds Read in SIPSorcery SCTP SACK Chunk Parsing

An out-of-bounds read vulnerability in the SCTP SACK chunk parser of SIPSorcery leads to Denial of Service (DoS) or silent internal state corruption due to lack of boundary validation on incoming chunk elements.

Amit Schendel
Amit Schendel
4 views•6 min read
•about 13 hours ago•GHSA-PFVM-W89X-94JW
7.5

GHSA-pfvm-w89x-94jw: Uncaught Exception in STUN Parser Causes Complete TurnServer Receive Loop Termination

An uncaught exception vulnerability exists in SIPSorcery's TurnServer component, where unauthenticated malformed UDP packets can crash the core UDP receive loop, resulting in a persistent Denial of Service.

Amit Schendel
Amit Schendel
7 views•6 min read
•1 day ago•CVE-2026-62898
7.5

CVE-2026-62898: Use After Free Information Disclosure in Microsoft QUIC

A critical use-after-free vulnerability in Microsoft QUIC allows unauthenticated remote attackers to disclose sensitive system memory over the network. The vulnerability is caused by a race condition during rapid connection termination and asynchronous packet retransmission.

Alon Barad
Alon Barad
13 views•6 min read
•1 day ago•CVE-2026-62899
5.9

CVE-2026-62899: .NET Security Feature Bypass Vulnerability (HTTP Request Smuggling)

CVE-2026-62899 is a security feature bypass vulnerability in the Microsoft .NET runtime environment on non-Windows platforms. The flaw manifests as an HTTP Request/Response Smuggling vulnerability (CWE-444) within the managed implementation of the System.Net.HttpListener class. This allows unauthenticated remote attackers to desynchronize request boundaries when the backend .NET application is hosted behind an upstream reverse proxy.

Amit Schendel
Amit Schendel
16 views•6 min read