CVE-2025-30397: Remote Code Execution in Microsoft Scripting Engine
- Vendor
- Microsoft Corporation
CVE-2025-30397 is a type confusion vulnerability in the Microsoft Scripting Engine. Improper validation of object types while malicious content is rendered through Microsoft Edge in Internet Explorer Mode can cause memory corruption. An attacker can exploit the flaw by inducing an authenticated user to follow a specially crafted link, enabling remote arbitrary code execution on the affected system. The vulnerability was actively exploited as a zero-day.
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 enables an unauthorized remote attacker to execute arbitrary code on an affected system. This may provide unauthorized control of the system and facilitate deployment of follow-on payloads such as ransomware or credential-stealing malware.
Mitigation
If you can’t patch tonight, do this now.
Where immediate patching is not possible, disable Microsoft Edge Internet Explorer Mode where operationally feasible. Migrate legacy applications away from IE compatibility dependencies, and monitor endpoints for anomalous process creation and unusual memory-access activity associated with exploit attempts.
Remediation
Patch, then assume compromise.
Install Microsoft’s May 2025 security updates for all affected Windows client and Windows Server products. Updates identified for this issue include KB5058405 for Windows 10 and KB5058411 for Windows 11.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
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-2025-30397 exploited in the wild?
- Yes. As of Sep 30, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 13, 2025.
- Is there a public exploit for CVE-2025-30397?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2025-30397, the earliest disclosed May 26, 2025.
- Is there a patch for CVE-2025-30397?
- Install Microsoft’s May 2025 security updates for all affected Windows client and Windows Server products. Updates identified for this issue include KB5058405 for Windows 10 and KB5058411 for Windows 11.
- What products are affected by CVE-2025-30397?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 14 more.
- How severe is CVE-2025-30397?
- CVE-2025-30397 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 9.6% (96th percentile) as of Sep 30, 2026.
Recent activity
36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.