CVE-2021-33742: Remote Code Execution in Windows MSHTML
- Vendor
- Microsoft Corporation
CVE-2021-33742 is a remote code execution vulnerability in Windows MSHTML, the rendering component used by Internet Explorer and embedded browser content. An observed April 2021 campaign delivered malicious Office documents that loaded Internet Explorer content through ActiveX objects or VBA macros. After device fingerprinting, selected targets received an exploit for the vulnerability. Exploitation requires no prior authentication or privileges. The vulnerability was exploited as a zero-day in Candiru-linked operations and patched by Microsoft in June 2021. The precise vulnerable function and underlying memory-safety defect are not established.
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 permits attacker-controlled code execution on an affected Windows device through MSHTML. This can enable malware deployment and subsequent compromise of data accessible to the exploited process. Exploitation alone does not establish SYSTEM privileges, sandbox escape, or persistence; those outcomes may require additional vulnerabilities or payload capabilities.
Mitigation
If you can’t patch tonight, do this now.
As defense in depth against the documented delivery chain, restrict Office ActiveX and VBA execution and prevent untrusted documents from loading active external content. Reduce exposure to applications that render untrusted content through MSHTML. These measures address delivery opportunities and are not established as complete workarounds for the vulnerability; patching remains necessary.
Remediation
Patch, then assume compromise.
Apply the Microsoft Windows security updates released in June 2021 that address CVE-2021-33742, or applicable superseding updates. Update every affected Windows installation, including systems where Office or other applications invoke MSHTML rather than users directly browsing with Internet Explorer.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-2021-33742 exploited in the wild?
- Yes. As of Oct 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-33742?
- As of Oct 28, 2026, Mallory has found no public exploit for CVE-2021-33742.
- Is there a patch for CVE-2021-33742?
- Apply the Microsoft Windows security updates released in June 2021 that address CVE-2021-33742, or applicable superseding updates. Update every affected Windows installation, including systems where Office or other applications invoke MSHTML rather than users directly browsing with Internet Explorer.
- What products are affected by CVE-2021-33742?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 1909, Microsoft Corporation Windows 10 2004, and 12 more.
- How severe is CVE-2021-33742?
- CVE-2021-33742 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 59.4% (99th percentile) as of Oct 28, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.