CVE-2026-42897: Stored XSS in Microsoft Exchange Server Outlook Web Access
- Vendor
- Microsoft Corporation
CVE-2026-42897 is a stored cross-site scripting vulnerability in Outlook Web Access (OWA) for on-premises Microsoft Exchange Server 2016, 2019, and Subscription Edition. Insufficient sanitization of HTML email bodies allows attacker-controlled JavaScript event handlers to execute when a recipient opens or previews a specially crafted message in an authenticated OWA session. Exploitation enables browser-context JavaScript execution and spoofing without requiring the attacker to authenticate to Exchange. Exchange Online is not affected. The vulnerability has been actively exploited to deliver the browser-resident OWAReaper implant.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality and integrity of the victim's authenticated OWA session, enabling mailbox impersonation, sensitive information disclosure, token theft, and unauthorized mailbox operations within the available permissions. Observed OWAReaper deployments harvest credentials, obtain OAuth tokens where suitable mailbox-write-capable add-ins exist, and modify Exchange folder permissions to establish persistent mailbox access. Server-side permission changes can survive password rotation and endpoint reimaging. The vulnerability itself establishes JavaScript execution in the browser, not native code execution on the Exchange server; no direct availability impact is established.
Mitigation
If you can’t patch tonight, do this now.
Enable Exchange Emergency Mitigation Service and verify that mitigation M2/M2.1.x has actually been applied, using Exchange Health Checker. Where the service cannot be used, apply Microsoft's mitigation with the latest Exchange On-premises Mitigation Tool from an elevated Exchange Management Shell, following the vendor's procedure for disconnected environments where applicable. Avoid OWA access through Internet Explorer or Microsoft Edge Internet Explorer mode because the temporary mitigation does not protect those clients. Monitor suspicious OWA sessions, mailbox permission changes, inbox and transport rules, token abuse, and malicious email rendering. Temporary mitigation is not a substitute for installing the security update.
Remediation
Patch, then assume compromise.
Install Microsoft's security updates addressing CVE-2026-42897 for the deployed Exchange Server edition and build. Historical accounts differ on the initial patch release date, so determine applicability using Microsoft's current security advisory rather than relying on a specific release month. Exchange Server 2016 and 2019 updates were distributed through the applicable Extended Security Update program. Patching does not remove existing compromise: audit and remove unauthorized mailbox folder permissions, particularly Owner grants to the Default principal; revoke compromised OAuth/EWS tokens; force reauthentication; rotate exposed credentials; remove malicious messages and unauthorized mailbox rules; and clear affected OWA browser storage and offline caches. Follow Microsoft's guidance for retiring temporary mitigations after updating.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-42897 exploited in the wild?
- Yes. As of Nov 23, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 15, 2026.
- Is there a public exploit for CVE-2026-42897?
- As of Nov 23, 2026, Mallory has found no public exploit for CVE-2026-42897.
- Is there a patch for CVE-2026-42897?
- Install Microsoft's security updates addressing CVE-2026-42897 for the deployed Exchange Server edition and build. Historical accounts differ on the initial patch release date, so determine applicability using Microsoft's current security advisory rather than relying on a specific release month.
- What products are affected by CVE-2026-42897?
- Microsoft Corporation Exchange Server, Microsoft Corporation Exchange Server 2016, Microsoft Corporation Exchange Server 2019, Microsoft Corporation Exchange Server Se, and Microsoft Corporation Exchange Server Subscription Edition.
- How severe is CVE-2026-42897?
- CVE-2026-42897 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 0.99% (61st percentile) as of Nov 23, 2026.
Recent activity
367 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.