Internet Explorer is retired as a desktop application, but its MSHTML engine still ships in Windows and still runs inside Microsoft Edge IE mode, so the legacy attack surface has not gone away. Several MSHTML flaws have been exploited in the wild since the retirement was announced, and many organisations still carry an Enterprise Mode Site List that nobody has reviewed in years. This guide explains where the residual risk sits, how to find out how much IE mode you really have, and how to contain MSHTML while the last legacy applications are retired.
It focuses on patching, inventory, configuration and detection. It does not describe exploitation. For the wider browser estate, see the Enterprise Browser and Browser Security Guide, and for general hardening of modern browsers, the Browser Security Hardening Guide.
This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.
Key takeaways
- Microsoft states that the IE11 desktop application went out of support for certain operating systems from 15 June 2022, and has been permanently disabled on certain versions of Windows 10.
- IE mode in Edge uses the Trident MSHTML engine from IE11 for legacy sites, and Microsoft has committed to supporting IE mode through at least 2029 on supported operating systems, with at least one year's notice before end of support.
- The CISA Known Exploited Vulnerabilities catalogue lists several MSHTML vulnerabilities, including CVE-2021-40444 (added November 2021, known ransomware use) and three MSHTML platform spoofing flaws added in 2024.
- Only sites you configure by policy open in IE mode, so the Enterprise Mode Site List and the "Send all intranet sites to Internet Explorer" setting define your exposure. Both drift over time.
- The main controls are: patch promptly, shrink the site list to named business applications, avoid sending all intranet sites to IE mode, apply restrictive security zone settings, and detect MSHTML launched from Office documents, shortcuts and script hosts.
Why retired Internet Explorer is still a risk
Retiring a browser application is not the same as removing its engine. Microsoft's lifecycle FAQ states that on supported operating systems, IE11 continues to receive security updates and technical support for the lifecycle of the Windows version it is installed on. Long-term servicing releases of Windows 10 and Windows Server versions from 2012 to 2022 are listed with Internet Explorer 11 and no retirement note. So in a typical enterprise, IE11 components remain present on servers, on LTSC builds used for kiosks, manufacturing and clinical workstations, and on any device where IE11 is enabled as a Windows feature to support IE mode.
The engine also remains reachable in ways users do not see as "using Internet Explorer". Other applications can host MSHTML to render HTML content, and specially crafted files can cause Windows to hand content to the legacy engine. That is why MSHTML vulnerabilities keep appearing in the KEV catalogue years after most staff stopped opening Internet Explorer. ATT&CK describes the usual entry patterns as Spearphishing Attachment leading to Exploitation for Client Execution, and the legacy mshta.exe host as a defence evasion technique, Mshta.
The residual risk therefore has three parts:
- Patch exposure. Every Windows device that carries MSHTML needs the monthly security update, whether or not anyone uses IE mode.
- Configured exposure. Every site in IE mode runs in an older engine, with ActiveX and older document modes available. That is a deliberate exception from the modern browser security model.
- Invocation exposure. Files, shortcuts and script hosts that call MSHTML outside the browser create paths that do not depend on the site list at all.
MSHTML vulnerabilities in the KEV catalogue
The CISA KEV catalogue is the most useful public signal of which MSHTML flaws attackers have used. Entries confirmed against the catalogue as of its October 2026 release include:
| CVE | KEV name | Added to KEV | Known ransomware use |
|---|---|---|---|
| CVE-2021-40444 | Microsoft MSHTML Remote Code Execution Vulnerability | 3 November 2021 | Known |
| CVE-2024-38112 | Microsoft Windows MSHTML Platform Spoofing Vulnerability | 9 July 2024 | Unknown |
| CVE-2024-43461 | Microsoft Windows MSHTML Platform Spoofing Vulnerability | 16 September 2024 | Unknown |
| CVE-2024-43573 | Microsoft Windows MSHTML Platform Spoofing Vulnerability | 8 October 2024 | Unknown |
Two lessons follow. First, the three 2024 entries arrived after the IE11 desktop application was retired, which shows that retirement did not end exploitation. Second, several are "spoofing" flaws rather than remote code execution, and spoofing in this context usually means a user is shown something different from what will actually run. Severity labels alone can understate the risk, so prioritise by KEV status and exploitation evidence. The CISA KEV Catalogue Guide and the Vulnerability Prioritisation Guide explain how to build KEV into patch service levels.
Check the catalogue directly for new MSHTML and Internet Explorer entries each month. Search it for "MSHTML", "Internet Explorer" and "Scripting Engine" rather than relying on a fixed list, because new entries are added without notice.
How IE mode decides which sites use the legacy engine
Microsoft's IE mode documentation describes a simple rule: only sites you configure by policy load in IE mode, and all other sites render in the modern Chromium engine. A site uses IE mode when either of the following is true:
- It is listed in the Enterprise Mode Site List XML, delivered by the Edge policy "Configure the Enterprise Mode Site List" (Edge 78 or later) or the Internet Explorer policy "Use the Enterprise Mode IE website list". Only one list is processed, and the Edge policy takes precedence.
- The setting "Send all intranet sites to Internet Explorer" is enabled (Edge 77 or later).
The master switch is the Edge policy InternetExplorerIntegrationLevel, shown in Group Policy as "Configure Internet Explorer integration". Microsoft documents three values: 0 None, 1 Internet Explorer mode, and 2 Internet Explorer 11. It is stored as a REG_DWORD under SOFTWARE\Policies\Microsoft\Edge, is Windows only, and needs a browser restart to take effect. A value of 0 on devices that have no business need for legacy sites removes IE mode from those devices entirely.
When a site runs in IE mode, Microsoft notes that IE security zone settings and Protected Mode settings and policies apply. IE mode supports ActiveX controls, Browser Helper Objects and all document and enterprise modes. Those are the features that make it useful for legacy applications, and also the reasons it should be kept to as few sites as possible.
Finding your real IE mode footprint
Most organisations underestimate their exposure because the site list was built during a Windows 10 or Edge migration and then left alone. Build an inventory in four passes.
1. Collect policy state
Query device management or Group Policy results for InternetExplorerIntegrationLevel, the Enterprise Mode Site List location, and whether "Send all intranet sites to Internet Explorer" is enabled. Record device groups where IE mode is on, and note any devices that still use the IE11 policy "Use the Enterprise Mode IE website list" instead of the Edge policy.
2. Read the site list
Fetch every site list XML referenced by policy. Microsoft's Enterprise Mode documentation describes the v2 schema: a <site-list> root with a version number, and <site url="..."> entries containing <compat-mode> and <open-in> elements. Entries with <open-in>IE11</open-in> are the ones that switch engines. For each entry record the URL, the compatibility mode, the business owner, the application it serves, and whether it is internal or external.
3. Measure use
A site list says what is allowed, not what is used. Use browser reporting, proxy logs or endpoint telemetry to find which listed sites were actually opened in the last 90 days, and by how many users. Entries nobody uses can usually be removed straight away.
4. Find invocation paths outside the browser
Search endpoint telemetry for processes that load the MSHTML engine or start legacy hosts such as mshta.exe, grouped by parent process. Expect a small set of known line-of-business applications. Office applications, archive tools or shortcut files as parents deserve investigation. The Defender for Endpoint Advanced Hunting Tables Guide covers which tables hold process and image load data.
The output should be one register listing every IE mode site with an owner, a use count, a retirement date and a compensating control. That register is also the evidence an auditor will ask for when you claim Internet Explorer is retired.
Shrinking the site list
The aim is a short, owned list that gets shorter every quarter. Practical rules:
- Turn off "Send all intranet sites to Internet Explorer". It sends every intranet site, including new ones, to the legacy engine by default. List the specific sites that need IE mode instead.
- Prefer specific paths over whole domains. The schema accepts a domain or domain path such as
contoso.com/travel. List the path the legacy application uses rather than the whole host. - Never list internet sites without a documented exception. An external site in IE mode exposes the legacy engine to content you do not control.
- Test removal before you delete. Many sites listed years ago now render correctly in the modern engine. Remove the entry for a pilot group and watch for support calls.
- Put the list under change control. Microsoft's Enterprise Mode Site List Portal offers approval workflows, pre-production testing and role-based governance. Whatever tool you use, require an owner and approver for every addition, and keep the XML in version control.
- Use one list. Microsoft recommends pointing the Edge and IE11 policies at the same file, which avoids a forgotten second list.
- Set retirement dates. Microsoft's commitment to IE mode runs through at least 2029. Treat that as an outer limit, not a plan. Each listed application should have a modernisation or replacement date well before then.
The Legacy Application Security guide covers how to manage applications that cannot yet be replaced, including network segmentation and access restrictions around them.
Containing MSHTML on endpoints
Shrinking the list reduces configured exposure. The following controls address patch and invocation exposure, which exist even on devices with IE mode turned off.
Patch on a KEV timeline
Apply the monthly Windows cumulative update to every device that carries MSHTML, including servers and LTSC builds. Treat MSHTML and Internet Explorer entries in KEV as emergency changes. Verify patch state from device telemetry, not from deployment reports, because legacy and kiosk devices are the ones most often missed. The Browser Update Management Guide covers the Edge side of updates.
Disable IE mode where it is not needed
Set InternetExplorerIntegrationLevel to 0 for every device group with no listed business application. Where IE mode is needed, restrict it to the smallest group of users and devices that use the legacy applications.
Harden security zones
Because IE zone settings and Protected Mode apply in IE mode, review the Internet and Restricted zone settings. Keep ActiveX restricted outside the Local Intranet and Trusted Sites zones, keep Protected Mode on, and keep the Trusted Sites zone to the legacy application hosts only. This is a direct application of NIST SP 800-53 CM-7 Least Functionality.
Control the file paths that reach MSHTML
- Keep Office documents from the internet opening in Protected View, and keep Mark of the Web intact through archive tools and file transfer systems.
- Block or restrict legacy script hosts such as
mshta.exefor users who do not need them, using application control. See the Application Allowlisting Guide. - Filter risky attachment types, including shortcut and HTML application file types, at the email gateway.
- Enable endpoint protection rules that block Office applications from creating child processes, where your endpoint platform supports them.
Remove the feature where you can
Microsoft lists enabling Internet Explorer 11 in Windows Features as a prerequisite for IE mode. On device groups with IE mode disabled, check whether the feature can also be removed, after testing that no installed application depends on it.
Detection and response
Detection should focus on the unusual ways MSHTML is reached. Useful signals, all available in mainstream endpoint telemetry:
- Legacy hosts with unusual parents.
mshta.exestarted by Office, a browser download, an archive tool orexplorer.exeopening a file from a user download folder. - Child processes of legacy hosts. A script interpreter, command shell or download tool started by a process that hosts MSHTML.
- IE mode traffic to unlisted destinations. If proxy or browser logs show IE mode sessions to sites that are not on the register, either the list has changed outside change control or something is invoking the engine directly.
- Site list or policy changes. Changes to the site list file or to
InternetExplorerIntegrationLeveloutside approved change windows.
Treat any rule here as illustrative: confirm table names, field names and process baselines against your own endpoint platform before deploying. When a detection fires, isolate the device, collect the triggering file and its source, check patch state for the relevant MSHTML updates, and review whether other users received the same file. Map lessons back to the register and the site list.
Governance: owners, exceptions and the 2029 horizon
Residual IE risk is mainly a governance problem. Assign one owner for the IE mode programme, usually in end-user computing, with security as approver. Report quarterly on the number of listed sites, the number of users with IE mode enabled, the number of devices missing MSHTML updates, and progress against retirement dates. Every listed site needs a business owner who accepts the risk in writing, and every exception to the rules above, such as an internet site in IE mode, needs an expiry date.
Plan for the end of IE mode now. Microsoft has said it will give at least one year's notice before ending support, but applications that still depend on ActiveX or old document modes often take longer than a year to replace. Starting the retirement plan early is the only way to avoid an emergency migration.
Common failure patterns
- "Send all intranet sites to Internet Explorer" left on from the original Edge rollout.
- A site list with hundreds of entries, no owners and no use data.
- Whole domains, or external partner sites, listed instead of specific application paths.
- IE mode enabled for every device rather than for the groups that need it.
- Servers and LTSC devices missing MSHTML updates because they sit outside the normal patch ring.
- MSHTML spoofing CVEs deprioritised because of their severity label, despite KEV status.
- Two site lists in use, one through the IE11 policy and one through the Edge policy, with only one maintained.
- No detection for legacy script hosts started by Office or from download folders.
- Claims that "Internet Explorer is retired" in audit responses with no register to support them.
Practitioner checklist
- Inventory
InternetExplorerIntegrationLevel, site list locations and the intranet setting across all device groups. - Build a register of every IE mode site with owner, use count, retirement date and compensating control.
- Turn off "Send all intranet sites to Internet Explorer" and list specific paths instead.
- Remove unused entries and test removal of entries that may now work in the modern engine.
- Set
InternetExplorerIntegrationLevelto0wherever no legacy application is needed. - Patch MSHTML on every Windows device, including servers and LTSC, on a KEV service level.
- Review IE security zone settings and keep Protected Mode on.
- Restrict
mshta.exeand similar hosts with application control, and filter risky attachment types. - Alert on legacy hosts with unusual parent processes and on site list or policy changes.
- Check the KEV catalogue monthly for new MSHTML and Internet Explorer entries.
- Report quarterly on list size, IE mode users and retirement progress ahead of the 2029 horizon.
Standards and references
- Microsoft: What is Internet Explorer (IE) mode?
- Microsoft: Lifecycle FAQ, Internet Explorer and Microsoft Edge
- Microsoft: InternetExplorerIntegrationLevel policy
- Microsoft: Enterprise Mode and the Enterprise Mode Site List
- CISA: Known Exploited Vulnerabilities Catalog
- MITRE ATT&CK: Exploitation for Client Execution
- MITRE ATT&CK: Mshta
- NIST: SP 800-53 Rev. 5 (CM-7 Least Functionality, SI-2 Flaw Remediation)
Related NHI Mgmt Group resources: Enterprise Browser and Browser Security Guide · CISA KEV Catalogue Guide · Legacy Application Security · Browser Security Hardening Guide