CVEs / CVE-2025-30397
CVE-2025-30397: Microsoft Windows Scripting Engine Type Confusion Vulnerability
- Known exploited in the CISA KEV catalog since 13 May 2025
- high 7.5 CVSS 3.1 (from the CNA)
- EPSS 27.2% chance of exploitation in the next 30 days, higher than 98% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-30397
Summary
Microsoft Windows Scripting Engine contains a type confusion vulnerability that allows an unauthorized attacker to execute code over a network via a specially crafted URL.
Description
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft Windows 10 Version 1507 | from 10.0.10240.0, before 10.0.10240.21014 | 10.0.10240.21014 |
| Microsoft Windows 10 Version 1607 | from 10.0.14393.0, before 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft Windows 10 Version 1809 | from 10.0.17763.0, before 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft Windows 10 Version 21H2 | from 10.0.19044.0, before 10.0.19044.5854 | 10.0.19044.5854 |
| Microsoft Windows 10 Version 22H2 | from 10.0.19045.0, before 10.0.19045.5854 | 10.0.19045.5854 |
| Microsoft Windows 11 version 22H2 | from 10.0.22621.0, before 10.0.22621.5335 | 10.0.22621.5335 |
| Microsoft Windows 11 version 22H3 | from 10.0.22631.0, before 10.0.22631.5335 | 10.0.22631.5335 |
| Microsoft Windows 11 Version 23H2 | from 10.0.22631.0, before 10.0.22631.5335 | 10.0.22631.5335 |
| Microsoft Windows 11 Version 24H2 | from 10.0.26100.0, before 10.0.26100.4061 | 10.0.26100.4061 |
| Microsoft Windows Server 2008 R2 Service Pack 1 | from 6.1.7601.0, before 6.1.7601.27729 | 6.1.7601.27729 |
| Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) | from 6.1.7601.0, before 6.1.7601.27729 | 6.1.7601.27729 |
| Microsoft Windows Server 2008 Service Pack 2 | from 6.0.6003.0, before 6.0.6003.23279 | 6.0.6003.23279 |
| Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) | from 6.0.6003.0, before 6.0.6003.23279 | 6.0.6003.23279 |
| Microsoft Windows Server 2012 | from 6.2.9200.0, before 6.2.9200.25475 | 6.2.9200.25475 |
| Microsoft Windows Server 2012 (Server Core installation) | from 6.2.9200.0, before 6.2.9200.25475 | 6.2.9200.25475 |
| Microsoft Windows Server 2012 R2 | from 6.3.9600.0, before 6.3.9600.22577 | 6.3.9600.22577 |
| Microsoft Windows Server 2012 R2 (Server Core installation) | from 6.3.9600.0, before 6.3.9600.22577 | 6.3.9600.22577 |
| Microsoft Windows Server 2016 | from 10.0.14393.0, before 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft Windows Server 2016 (Server Core installation) | from 10.0.14393.0, before 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft Windows Server 2019 | from 10.0.17763.0, before 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft Windows Server 2019 (Server Core installation) | from 10.0.17763.0, before 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft Windows Server 2022 | from 10.0.20348.0, before 10.0.20348.3692 | 10.0.20348.3692 |
| Microsoft Windows Server 2022, 23H2 Edition (Server Core installation) | from 10.0.25398.0, before 10.0.25398.1611 | 10.0.25398.1611 |
| Microsoft Windows Server 2025 | from 10.0.26100.0, before 10.0.26100.4061 | 10.0.26100.4061 |
| Microsoft Windows Server 2025 (Server Core installation) | from 10.0.26100.0, before 10.0.26100.4061 | 10.0.26100.4061 |
Exploitation
| In CISA KEV since | 13 May 2025 |
|---|---|
| Due date for US federal agencies | 3 Jun 2025 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 7.5 highCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HScored by the CNA ([email protected]) |
|---|---|
| Weakness | CWE-843 |
References
- CVE-2025-30397 on NVD
- CVE-2025-30397 in the CISA KEV catalog
- https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2025-30397 (cited by CISA)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30397 Vendor Advisory
- https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-detection-script Exploit, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-mitigation-script Mitigation, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30397 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.