← Vulnerability feed

Vulnerability record · CVE-2024-30040 · published 14 May 2024

CVE-2024-30040: Windows MSHTML platform security feature bypass via improper input validation

Microsoft · Windows 10 1507

CVE-2024-30040 is a security feature bypass in the Windows MSHTML platform caused by improper input validation. Because MSHTML is the legacy rendering engine still reachable through Office and other Windows components, bypassing its protections can let an attacker evade the safeguards that normally block malicious content from executing. Microsoft rates it 8.8 (HIGH) with a network vector and required user interaction.

8.8 CVSS 3.1 High CISA KEV since 14 May 2024 EPSS 3.9% · top 10.0% CWE-20 · Improper input validation
8.8CVSS 3.1 base score
3.9%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
12Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

Windows MSHTML Platform Security Feature Bypass Vulnerability

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityIt is confirmed exploited in the wild and listed in CISA KEV with a near-term remediation deadline, though it requires user interaction and has a moderate EPSS score.

What it is

CVE-2024-30040 is a security feature bypass in the Windows MSHTML platform caused by improper input validation. Because MSHTML is the legacy rendering engine still reachable through Office and other Windows components, bypassing its protections can let an attacker evade the safeguards that normally block malicious content from executing. Microsoft rates it 8.8 (HIGH) with a network vector and required user interaction.

Impact

An attacker can bypass MSHTML security features and, in the CVSS assessment, achieve high confidentiality, integrity and availability impact on the target system. In practice this typically means code execution or script execution in the context of the victim, depending on how the bypass is chained.

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 malicious page that loads MSHTML content. No authentication is needed on the attacker's side.

Exploitation

CVE-2024-30040 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2024-05-14, remediation due 2024-06-04), confirming exploitation in the wild. EPSS gives a 30-day probability of about 3.9 percent (89th percentile), and CISA records no known ransomware campaign use.

What to do

  • Apply the Microsoft May 2024 security update for the affected Windows versions listed in the MSRC advisory.
  • Prioritize patching per the CISA KEV due date of 2024-06-04 for internet-facing and user-workstation systems.
  • Reduce exposure to MSHTML-based content where feasible, for example by restricting legacy web rendering in Office and blocking untrusted ActiveX or script content.
  • Enforce attachment and web filtering plus macro-blocking policies to cut off the user-interaction path this flaw depends on.
  • If patching cannot be completed, follow vendor mitigation guidance or discontinue use of the affected component as CISA directs.

Detection

  • Monitor for Office or browser processes spawning child processes such as script hosts or command shells after opening documents or web content.
  • Alert on MSHTML-related module loads (for example mshtml.dll) in unusual parent processes or from user-writable directories.
  • Review endpoint telemetry for exploitation attempts against MSHTML protections and correlate with email or web delivery events.
  • Track patch state across the listed Windows 10, Windows 11 and Windows Server builds and flag unpatched hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2024-30040 to the Known Exploited Vulnerabilities catalog on 14 May 2024 as "Microsoft Windows MSHTML Platform Security Feature Bypass Vulnerability". Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 4 June 2024.

Affected products

12 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-30040 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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed8.8CVE-2024-49039Windows Task Scheduler elevation of privilege via improper authenticationCVE-2024-49039 is an elevation of privilege flaw in the Windows Task Scheduler, classified as improper authentication (CWE-287). A local attacker wit…KEVEPSS 14%analysed8.8CVE-2024-43461Windows MSHTML Platform spoofing flaw enables code executionCVE-2024-43461 is a spoofing vulnerability in the Windows MSHTML platform, the legacy rendering engine still reachable through Windows components. Th…KEVEPSS 54%analysed

Source: NIST National Vulnerability Database (record CVE-2024-30040), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.