Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-30397: Remote Code Execution in Microsoft Scripting Engine

Published May 13, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS9.6%96th percentile
CISA KEVYesAdded May 13, 2025
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2025-30397CWE-843 · Access of Resource Using…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

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.

View more in app →
ChromSploit-FrameworkChromSploit Framework is a modular, extensible exploitation and research platform focused on browser and server vulnerabilities. It provides operational exploit modules for several high-profile CVEs (including Chrome, Edge, Firefox, Tomcat, and Git), with a strong emphasis on safety: all exploits default to simulation mode, and real exploitation requires explicit authorization. The framework supports multi-stage browser exploit chains, advanced payload obfuscation, automated tunneling (ngrok), and C2 integration (Sliver, Metasploit). It includes a professional reporting system, live monitoring, and evidence collection. The repository is well-structured, with clear separation between core logic, modules, exploits, and documentation. Numerous endpoints are fingerprintable, including local HTTP servers for exploit delivery, OAuth phishing, and data exfiltration. The codebase is primarily Python, with supporting JavaScript, JSP, and shell scripts. This framework is suitable for advanced security research, red teaming, and educational demonstrations, but should only be used in authorized, isolated environments due to the presence of real exploit code (even though simulation is the default).Leviticus-Triage · Disclosed May 26, 2025 · Framework: ChromSploit Framework · python · javascript · browser · network · localOperationalCVE-2025-30397---Windows-Server-2025-JScript-RCE-Use-After-Free-This repository provides a proof-of-concept (PoC) exploit for CVE-2025-30397, a critical Use-After-Free vulnerability in the JScript engine (jscript.dll) affecting Windows Server 2025 (build 25398 and prior) when accessed via Internet Explorer 11. The repository consists of three files: a LICENSE, a README.md with technical and usage details, and the main exploit script (exploit.py). The exploit.py script implements a simple Python HTTP server that serves a malicious HTML page containing heap-spraying JavaScript and shellcode. When a vulnerable system visits the provided URL (http://<attacker-ip>:8080/poc_cve_2025_30397.html) using IE11, the exploit triggers the vulnerability, resulting in remote code execution (demonstrated by launching calc.exe). The exploit is a functional PoC, not weaponized, and is intended for ethical testing and research. No hardcoded IPs or domains are present; the attacker must provide their own IP address when serving the exploit.mbanyamer · Disclosed May 31, 2025 · python · html · browser · networkPoC
Exposure surface

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.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity18Community discussion across Reddit, Mastodon, and other social sources.