CVE-2026-42897: Microsoft Exchange Server - Stored XSS
- Template: CVE-2026-42897
- Name: Microsoft Exchange Server - Stored XSS
- Description: Microsoft Exchange Server contains a stored XSS caused by improper neutralization of input during web page generation, letting unauthorized attackers perform spoofing over a network, exploit requires no special privileges.
- Impact: Unauthorized attackers can perform spoofing attacks over the network, potentially leading to user impersonation or session hijacking.
- Remediation: Update to the latest version of Microsoft Exchange Server.
- Severity: high
- Authors: 0x_Akoko
- Tags: cve, cve2026, microsoft, exchange, owa, xss, kev, vkev, passive, vd
- References: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42897, https://techcommunity.microsoft.com/blog/exchange/addressing-exchange-server-may-2026-vulnerability-cve-2026-42897/4518498, https://techcommunity.microsoft.com/blog/exchange/released-june-2026-exchange-server-security-updates/4524491, https://learn.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates, https://nvd.nist.gov/vuln/detail/CVE-2026-42897
- Cves: CVE-2026-42897
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-42897.yaml
- Digest: 4b0a00483046022100f86fe002c7b5581d29a8ac66e341e207b15d403ecfd6dd49bb781c8239b3f9fc022100dca8fe2ed82efec5fde6cc2005589e3bc6974063138bc32fc933710edcef0a14
- Created at: 2026-11-23T07:07:41Z
- Updated at: 2026-11-23T07:08:18Z
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42897.yaml
- Checked, none or zero: verified, age in days
Classification
- Cwe: CWE-79
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Cpe: cpe:2.3:a:microsoft:exchange_server:*:*:*:*:*:*:*:*
- Not known: epss score, epss percentile
Metadata
- Fofa-query: header="X-OWA-Version", app="Microsoft-Exchange"
- Max-request: 1
- Product: exchange_server
- Shodan-query: http.headers:"X-OWA-Version", http.title:"Outlook Web App"
- Vendor: microsoft
Products
| Product | Indexed | Url |
|---|---|---|
| microsoft:exchange_server | yes | /v1/products/microsoft/exchange_server |
Labels
- Name: Microsoft Exchange Server - Stored XSS
- Impact: Unauthorized attackers can perform spoofing attacks over the network, potentially leading to user impersonation or session hijacking.
- Remediation: Update to the latest version of Microsoft Exchange Server.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-42897
- Not known: requirements
```yaml
id: CVE-2026-42897
info:
name: Microsoft Exchange Server - Stored XSS
author: 0x_Akoko
severity: high
description: |
Microsoft Exchange Server contains a stored XSS caused by improper neutralization of input during web page generation, letting unauthorized attackers perform spoofing over a network, exploit requires no special privileges.
impact: |
Unauthorized attackers can perform spoofing attacks over the network, potentially leading to user impersonation or session hijacking.
remediation: |
Update to the latest version of Microsoft Exchange Server.
reference:
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42897
- https://learn.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates
- https://nvd.nist.gov/vuln/detail/CVE-2026-42897
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
cvss-score: 8.1
cve-id: CVE-2026-42897
cwe-id: CWE-79
cpe: cpe:2.3:a:microsoft:exchange_server:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: microsoft
product: exchange_server
shodan-query:
- http.headers:"X-OWA-Version"
- http.title:"Outlook Web App"
fofa-query:
- header="X-OWA-Version"
- app="Microsoft-Exchange"
tags: cve,cve2026,microsoft,exchange,owa,xss,kev,vkev,passive,vd
http:
- method: GET
path:
- "{{BaseURL}}/owa/"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'status_code == 200 || status_code == 302 || status_code == 301 || status_code == 401 || status_code == 403'
- 'contains(to_lower(header), "x-owa-version")'
- type: dsl
dsl:
- 'compare_versions(exchver, "< 15.1.2507.69") && compare_versions(exchver, ">= 15.1.0.0")'
- 'compare_versions(exchver, "< 15.2.1544.41") && compare_versions(exchver, ">= 15.2.221.12")'
- 'compare_versions(exchver, "< 15.2.1748.46") && compare_versions(exchver, ">= 15.2.1748.10")'
- 'compare_versions(exchver, "< 15.2.2562.43") && compare_versions(exchver, ">= 15.2.2562.17")'
condition: or
extractors:
- type: regex
name: exchver
part: header
group: 1
regex:
- '(?i)X-OWA-Version:\s*([0-9]+\.[0-9]+\.[0-9]+(?:\.[0-9]+)?)'
internal: true
- type: dsl
dsl:
- exchver
digest: 4b0a00483046022100f86fe002c7b5581d29a8ac66e341e207b15d403ecfd6dd49bb781c8239b3f9fc022100dca8fe2ed82efec5fde6cc2005589e3bc6974063138bc32fc933710edcef0a14:922c64590222798bb761d5b6d8e72950
```