CVE-2025-30397: Microsoft Windows Scripting Engine Type Confusion Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
Access of resource using incompatible type (‘type confusion’) in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Description quoted from the CVE record (assigned by microsoft, published 2025-05-13).
Weakness: CWE-843: Access of Resource Using Incompatible Type (‘Type Confusion’)
How it can be exploited
Exploitable over the network with high attack complexity needing no privileges and a user must take an action. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: no. Technical impact: total.
- On CISA KEV since
- 2025-05-13
- US federal deadline
- 2025-06-03
- Ransomware use
- Not known
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-05436, CNNVD-202505-1871, EDB-52315, EUVD-2025-14411, GHSA-r7hj-5f27-q8xw
VEDAS cluster: VEDAS:FLITTINGFINCH
Exploit Observer links 5 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (5)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Exploit-DB: https://www.exploit-db.com/raw/52315
- Exploit-DB: https://www.exploit-db.com/raw/52315
- Code repository: https://github.com/b1ack4sh/blackash-cve-2025-30397
- Code repository: https://github.com/mbanyamer/cve-2025-30397---windows-server-2025-jscript-rce-use-after-free-
- Code repository: https://github.com/sratet/cve-2025-30397-rce
Vulnerability databases and vendor advisories (9)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-14411
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-r7hj-5f27-q8xw
- Vulnerability database or vendor advisory: https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2025-30397
- Vulnerability database or vendor advisory: https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2025-30397)
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-30397
- Vulnerability database or vendor advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30397
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202505-1871
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-detection-script
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-mitigation-script
19 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.273
likely to be attacked soon - VEDAS
- 0.980
strong exploit evidence - On CISA KEV
- Yes, since 2025-05-13
- Detection rule
- None yet
Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Microsoft Windows 10 Version 1507 | from 10.0.10240.0 before 10.0.10240.21014 | Not stated |
| Microsoft Windows 10 Version 1607 | from 10.0.14393.0 before 10.0.14393.8066 | Not stated |
| Microsoft Windows 10 Version 1809 | from 10.0.17763.0 before 10.0.17763.7314 | Not stated |
| Microsoft Windows 10 Version 21H2 | from 10.0.19044.0 before 10.0.19044.5854 | Not stated |
| Microsoft Windows 10 Version 22H2 | from 10.0.19045.0 before 10.0.19045.5854 | Not stated |
| Microsoft Windows 11 version 22H2 | from 10.0.22621.0 before 10.0.22621.5335 | Not stated |
| Microsoft Windows 11 version 22H3 | from 10.0.22631.0 before 10.0.22631.5335 | Not stated |
| Microsoft Windows 11 Version 23H2 | from 10.0.22631.0 before 10.0.22631.5335 | Not stated |
| Microsoft Windows 11 Version 24H2 | from 10.0.26100.0 before 10.0.26100.4061 | Not stated |
| Microsoft Windows Server 2008 R2 Service Pack 1 | from 6.1.7601.0 before 6.1.7601.27729 | Not stated |
| Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) | from 6.1.7601.0 before 6.1.7601.27729 | Not stated |
| Microsoft Windows Server 2008 Service Pack 2 | from 6.0.6003.0 before 6.0.6003.23279 | Not stated |
| Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) | from 6.0.6003.0 before 6.0.6003.23279 | Not stated |
| Microsoft Windows Server 2012 | from 6.2.9200.0 before 6.2.9200.25475 | Not stated |
| Microsoft Windows Server 2012 (Server Core installation) | from 6.2.9200.0 before 6.2.9200.25475 | Not stated |
| Microsoft Windows Server 2012 R2 | from 6.3.9600.0 before 6.3.9600.22577 | Not stated |
| Microsoft Windows Server 2012 R2 (Server Core installation) | from 6.3.9600.0 before 6.3.9600.22577 | Not stated |
| Microsoft Windows Server 2016 | from 10.0.14393.0 before 10.0.14393.8066 | Not stated |
| Microsoft Windows Server 2016 (Server Core installation) | from 10.0.14393.0 before 10.0.14393.8066 | Not stated |
| Microsoft Windows Server 2019 | from 10.0.17763.0 before 10.0.17763.7314 | Not stated |
5 more products are listed in the CVE record.
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: microsoft windows_10_1507, microsoft windows_10_1607, microsoft windows_10_1809, microsoft windows_10_21h2, microsoft windows_10_22h2, microsoft windows_11_22h2, microsoft windows_11_23h2, microsoft windows_11_24h2, microsoft windows_server_2008, microsoft windows_server_2012.
How to fix it
Fixed versions stated in the CVE record: 10.0.10240.21014, 10.0.14393.8066, 10.0.17763.7314, 10.0.19044.5854, 10.0.19045.5854, 10.0.22621.5335, 10.0.22631.5335, 10.0.26100.4061, 6.1.7601.27729, 6.0.6003.23279, 6.2.9200.25475, 6.3.9600.22577 and others.
CISA 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.
Vendor guidance:
- Scripting Engine Memory Corruption Vulnerability (vendor-advisory, patch)
How to detect it
There is no open VEDAS detection rule for this bug yet. It is listed on the detection gaps page if CISA has confirmed attacks.
References
Vendor advisories and patches
- Scripting Engine Memory Corruption Vulnerability (vendor-advisory, patch)
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30397 (government-resource)
Other references
- https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-mitigation-script
- https://www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-detection-script
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.