What is Microsoft XML Core Services (MSXML)?
Microsoft XML Core Services (MSXML) is a set of COM (Component Object Model) objects that provide XML parsing, transformation (XSLT), and validation functionality to Windows applications and to Internet Explorer. IE uses MSXML to parse XML content on web pages (including embedded XML in HTML), and Office uses it for XML-based document formats. Because MSXML is deeply integrated into IE and Office — both of which process attacker-controlled content — vulnerabilities in MSXML translate directly to zero-click or one-click remote code execution opportunities.
Overview
CVE-2012-1889 is a memory corruption vulnerability (CWE-787) in Microsoft XML Core Services (MSXML) versions 3.0, 4.0, 5.0, and 6.0. Processing specially crafted XML content triggers an uninitialized memory access or use-after-free condition, allowing arbitrary code execution in the context of the application that invoked MSXML — most critically, Internet Explorer. This vulnerability was exploited as a zero-day in targeted attacks before Microsoft released a patch.
Microsoft published Security Advisory 2719615 with a FixIt workaround on June 12, 2012, and released the full patch in MS12-043 on July 10, 2012.
Affected Versions
| Component | Versions Affected | Fixed |
|---|---|---|
| MSXML 3.0 | All | MS12-043 |
| MSXML 4.0 | All | MS12-043 |
| MSXML 5.0 | All (Office 2007) | MS12-043 |
| MSXML 6.0 | All | MS12-043 |
| Internet Explorer 6, 7, 8, 9 | Yes (via MSXML) | MS12-043 |
| Microsoft Office 2003, 2007 | Yes (via MSXML) | MS12-043 |
Technical Details
The vulnerability involves improper handling of XML objects during parsing — an object is accessed after it has been freed (use-after-free) or an uninitialized memory reference is dereferenced, resulting in a memory corruption condition exploitable for code execution.
Web-based attack vector (IE): An attacker hosts a malicious web page containing JavaScript that instantiates the MSXML ActiveX object and triggers the vulnerable XML parsing path. When a user with a vulnerable IE visits the page, the vulnerability is triggered and the attacker's shellcode executes in the IE process context.
Document-based attack vector: Malicious Office documents or MHTML files can reference and trigger the vulnerable MSXML functionality, providing an alternative delivery mechanism via spear-phishing.
The zero-day window (May–July 2012) during which attackers had exclusive access to a working exploit against a fully-patched Windows system was a significant threat for organizations without the FixIt workaround applied.
Discovery
The vulnerability was discovered through analysis of malicious web pages used in targeted attacks in May 2012. Security researchers identified and reported the zero-day to Microsoft, resulting in the expedited Security Advisory and FixIt workaround, followed by the July Patch Tuesday fix (MS12-043).
Exploitation Context
CVE-2012-1889 was exploited in targeted campaigns — attackers compromised or created malicious web pages and sent links to specific targets via spear-phishing emails. The exploitation relied on victims using Internet Explorer (the dominant browser at the time in enterprise environments), which used MSXML to parse XML content on pages. Successful exploitation granted code execution in the IE process — a significant initial foothold given IE's then-privileged position in enterprise environments.
The month-long zero-day window before MS12-043 was released meant that organizations relying solely on OS patches were exposed to active targeted exploitation. The FixIt workaround (which disabled MSXML 3.0 in IE) was available during this window but required manual deployment.
Remediation
- Apply MS12-043 on all Windows systems — this patches all affected MSXML versions
- For systems awaiting patching, apply the FixIt workaround from Security Advisory 2719615 immediately
- In modern environments, Internet Explorer should be removed or disabled (Microsoft retired IE 11 in June 2022) — this eliminates the web-based MSXML attack vector entirely
- Replace IE with Microsoft Edge, which uses a different HTML/XML rendering engine not dependent on legacy MSXML
- Apply Enhanced Mitigation Experience Toolkit (EMET) policies to constrain IE behavior as an additional defense-in-depth measure for legacy systems
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2012-1889 |
| Vendor / Product | Microsoft — XML Core Services |
| NVD Published | 2012-06-13 |
| NVD Last Modified | 2025-10-22 |
| CVSS 3.1 Score | 8.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-787 find similar ↗ |
| CISA KEV Added | 2022-06-08 |
| CISA KEV Deadline | 2022-06-22 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2012-05 | Zero-day exploitation of MSXML memory corruption observed in targeted attacks via malicious websites |
| 2012-06-12 | Microsoft releases Security Advisory 2719615 with FixIt workaround (disabling MSXML 3.0 in IE) |
| 2012-06-13 | CVE-2012-1889 published |
| 2012-07-10 | Microsoft releases MS12-043 with full patch for MSXML |
| 2022-06-08 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-06-22 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2012-1889 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Microsoft Security Bulletin MS12-043 | Vendor Advisory |
| Microsoft Security Advisory 2719615 | Vendor Advisory |