CVE-2021-40444Microsoft MSHTML Remote Code Execution Vulnerability
- 8.8HighCVSS base score
- 97.8%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 3 Nov 2021
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft Windows. Microsoft is aware of targeted attacks that attempt to exploit this vulnerability by using specially-crafted Microsoft Office documents. An attacker could craft a malicious ActiveX control to be used by a Microsoft Office document that hosts the browser rendering engine. The attacker would then have to convince the user to open the malicious document. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Microsoft Defender Antivirus and Microsoft Defender for Endpoint both provide detection and protections for the known vulnerability. Customers should keep antimalware products up to date. Customers who utilize automatic updates do not need to take additional action. Enterprise customers who manage updates should select the detection build 1.349.22.0 or newer and deploy it across their environments. Microsoft Defender for Endpoint alerts will be displayed as: “Suspicious Cpl File Execution”. Upon completion of this investigation, Microsoft will take the appropriate action to help protect our customers. This may include providing a security update through our monthly release process or providing an out-of-cycle security update, depending on customer needs. Please see the Mitigations and Workaround sections for important information about steps you can take to protect your system from this vulnerability. UPDATE September 14, 2021: Microsoft has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. Please see the FAQ for important information about which updates are applicable to your system.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Microsoft MSHTML Remote Code Execution Vulnerability.
- Added
- 3 Nov 2021
- Fix due (US federal)
- 17 Nov 2021
- Used by ransomware
- Known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 3 Nov 2021.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits1
Metasploit modules1 module
- Microsoft Office Word Malicious MSHTML RCE (Metasploit module) (opens in a new tab)
exploit/windows/fileformat/word_mshtml_rceRank excellentdisclosed 23 Sept 2021
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By microsoft
- 13 days later
· 13 days later
Published
- 49 days later
· 49 days later
Added to CISA KEV
Known exploited, also by ransomware
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| microsoftCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L/E:P/RL:O/RC:C |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
- EPSS (exploitation in 30 days)
- 97.8% · top 0.1% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Microsoft · Windows 10 Version 1507
- affected 10.0.10240.0 – < 10.0.10240.19060
Microsoft · Windows 10 Version 1607
- affected 10.0.14393.0 – < 10.0.14393.4651
Microsoft · Windows 10 Version 1809
- affected 10.0.17763.0 – < 10.0.17763.2183
Microsoft · Windows 10 Version 1809
- affected 10.0.0 – < 10.0.17763.2183
Microsoft · Windows 10 Version 1909
- affected 10.0.0 – < 10.0.18363.1801
Microsoft · Windows 10 Version 2004
- affected 10.0.0 – < 10.0.19041.1237
Microsoft · Windows 10 Version 20H2
- affected 10.0.0 – < 10.0.19042.1237
Microsoft · Windows 10 Version 21H1
- affected 10.0.0 – < 10.0.19043.1237
- affected 6.1.0 – < 6.1.7601.25712
Microsoft · Windows 7 Service Pack 1
- affected 6.1.0 – < 6.1.7601.25712
- affected 6.3.0 – < 6.3.9600.20120
Microsoft · Windows Server 2008 R2 Service Pack 1
- affected 6.1.7601.0 – < 6.1.7601.25712
Microsoft · Windows Server 2008 R2 Service Pack 1 (Server Core installation)
- affected 6.1.7601.0 – < 6.1.7601.25712
Microsoft · Windows Server 2008 Service Pack 2
- affected 6.0.6003.0 – < 6.0.6003.21218
Microsoft · Windows Server 2008 Service Pack 2 (Server Core installation)
- affected 6.0.6003.0 – < 6.0.6003.21218
Microsoft · Windows Server 2012
- affected 6.2.9200.0 – < 6.2.9200.23462
Microsoft · Windows Server 2012 (Server Core installation)
- affected 6.2.9200.0 – < 6.2.9200.23462
Microsoft · Windows Server 2012 R2
- affected 6.3.9600.0 – < 6.3.9600.20120
Microsoft · Windows Server 2012 R2 (Server Core installation)
- affected 6.3.9600.0 – < 6.3.9600.20120
Microsoft · Windows Server 2016
- affected 10.0.14393.0 – < 10.0.14393.4651
Microsoft · Windows Server 2016 (Server Core installation)
- affected 10.0.14393.0 – < 10.0.14393.4651
Microsoft · Windows Server 2019
- affected 10.0.17763.0 – < 10.0.17763.2183
Microsoft · Windows Server 2019 (Server Core installation)
- affected 10.0.17763.0 – < 10.0.17763.2183
Microsoft · Windows Server 2022
- affected 10.0.20348.0 – < 10.0.20348.230
Microsoft · Windows Server version 2004
- affected 10.0.0 – < 10.0.19041.1237
Microsoft · Windows Server version 20H2
- affected 10.0.0 – < 10.0.19042.1237
References
References6
- Microsoft MSHTML Remote Code Execution Vulnerability (opens in a new tab)vendor-advisorypatch
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-40444 (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/164210/Microsoft-Windows-MSHTML-Overview.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/165214/Microsoft-Office-Word-MSHTML-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/167317/Microsoft-Office-MSDT-Follina-Proof-Of-Concept.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40444 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-27621 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-40444)Record last updated .