Vulnerability record · CVE-2018-8420 · published 13 September 2018
CVE-2018-8420: Microsoft MSXML Parser XXE Flaw Enables Remote Code Execution
Microsoft · Windows 10
The Microsoft XML Core Services (MSXML) parser mishandles user-supplied XML input, allowing an XML external entity (XXE) condition that leads to remote code execution. Because MSXML ships with and is used across many Windows versions, any application or document path that parses untrusted XML on an affected host is exposed. The flaw matters because it can be triggered by ordinary user input and yields full code execution in the context of the parsing process.
Description
A remote code execution vulnerability exists when the Microsoft XML Core Services MSXML parser processes user input, aka "MS XML Remote Code Execution Vulnerability." This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 2008, Windows Server 2012, Windows 8.1, Windows Server 2016, Windows Server 2008 R2, Windows 10, Windows 10 Servers.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Automated analysis
high priorityCVSS 8.8 with network reachability and high EPSS despite no KEV listing makes this a high-priority patch for any exposed Windows estate.
What it is
The Microsoft XML Core Services (MSXML) parser mishandles user-supplied XML input, allowing an XML external entity (XXE) condition that leads to remote code execution. Because MSXML ships with and is used across many Windows versions, any application or document path that parses untrusted XML on an affected host is exposed. The flaw matters because it can be triggered by ordinary user input and yields full code execution in the context of the parsing process.
Impact
An attacker who gets crafted XML processed gains arbitrary code execution with the privileges of the affected process, potentially leading to full system compromise. The CVSS vector rates confidentiality, integrity and availability impact as high.
Attack surface
Reached over the network (AV:N) with no privileges required (PR:N), but exploitation requires user interaction (UI:R), such as opening a crafted document or visiting a page that feeds XML to MSXML. No authentication is needed on the attacker's side.
Exploitation
CISA KEV does not list this CVE, but EPSS is high at roughly 0.489 (98.8th percentile), indicating elevated likelihood of attempted exploitation; reference tags are advisory and patch only, with no public exploit tag supplied.
What to do
- Apply the Microsoft security update for CVE-2018-8420 on all affected Windows versions as the first action.
- Disable or restrict MSXML parsing of untrusted XML where feasible, and block external entity resolution in applications that use MSXML.
- Enforce attachment and document handling controls (email filtering, Mark-of-the-Web, Protected View) to reduce user-interaction vectors.
- Inventory and retire unsupported Windows versions (Windows 7, Windows 8.1, Windows Server 2008/2012) that may no longer receive fixes.
Detection
- Monitor for MSXML-related processes (e.g., msxml3.dll, msxml6.dll) loading or spawning unexpected child processes such as scripting hosts or command shells.
- Alert on outbound network connections or DNS lookups originating from processes that parse XML, which can indicate external entity resolution.
- Review endpoint and email telemetry for crafted XML or document files delivered to users shortly before suspicious process execution.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/105259 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1041627 | Third Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8420 | PatchVendor Advisory |
| http://www.securityfocus.com/bid/105259 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1041627 | Third Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8420 | PatchVendor Advisory |
Track CVE-2018-8420 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-8420), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.