PT-2026-40978
CVE-2026-42897
·
Published
2026-05-14
·
Updated
2026-11-06
Description by
CVSS 2.0
9.4
HighMetricsAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions
Microsoft Exchange Server 2016
Microsoft Exchange Server 2019
Microsoft Exchange Server Subscription Edition versions prior to 15.02.2562.043
Description
Microsoft Exchange Server contains a cross-site scripting (XSS) flaw caused by improper neutralization of input during the generation of web pages in Outlook Web Access (OWA). An unauthorized remote attacker can exploit this by sending a specially crafted email; if a user opens the message in OWA, arbitrary JavaScript executes within the victim's authenticated browser session. This allows the attacker to perform spoofing, hijack sessions, steal credentials, and read mailbox content. The issue has been actively exploited in the wild, targeting government, telecommunications, finance, and aerospace sectors. The attack is particularly dangerous as it inherits the trusted identity of the authenticated user, making malicious HTTP requests indistinguishable from legitimate activity in standard logs.
Recommendations
For Microsoft Exchange Server 2016, 2019, and Subscription Edition, enable the Exchange Emergency Mitigation Service (EEMS) to automatically apply temporary protections.
For air-gapped or isolated environments, run the Exchange on-premises Mitigation Tool (EOMT) using the command
.EOMT.ps1 -CVE "CVE-2026-42897" for a single server, or Get-ExchangeServer | Where-Object { $ .ServerRole -ne "Edge" } | .EOMT.ps1 -CVE "CVE-2026-42897" for all servers.
As a temporary mitigation, restrict external access to the Outlook Web Access interface and advise users to use the Outlook desktop client.
Deploy Exchange Transport Rules to block or quarantine inbound external messages containing anomalous HTML structures or suspicious script parameters in headers. Found an issue in the description? Have something to add? Feel free to write us 👾