CVE-2025-30397
Scripting Engine Memory Corruption Vulnerability
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Scripting Engine Memory Corruption Vulnerability
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
- Record
CVE-2025-30397- CVSS 3.1
- 7.5 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 - Weakness
- CWE-843
- Updated
- 2026-11-02
EUVDEUVD-2025-14411
7.5
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
- Record
EUVD-2025-14411- CVSS 3.1
- 7.5 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-r7hj-5f27-q8xw
7.5
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine...
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
- Record
GHSA-r7hj-5f27-q8xw- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-843
- Updated
- 2026-11-02
CISA KEV No score
Microsoft Windows Scripting Engine Type Confusion Vulnerability
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.
- Record
CVE-2025-30397- Weakness
- CWE-843
- Updated
- 2026-11-02
NVD
7.5
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
- Record
CVE-2025-30397- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-843
- Updated
- 2026-11-02
Affected products
- microsoft windows
- microsoft windows 10 version 1507
- microsoft windows 10 version 1607
- microsoft windows 10 version 1809
- microsoft windows 10 version 21h2
- microsoft windows 10 version 22h2
- microsoft windows 11 version 22h2
- microsoft windows 11 version 22h3
- microsoft windows 11 version 23h2
- microsoft windows 11 version 24h2
- microsoft windows server 2008 r2 service pack 1
- microsoft windows server 2008 r2 service pack 1 (server core installation)
Show 24 moreShow less
- microsoft windows server 2008 service pack 2
- microsoft windows server 2008 service pack 2 (server core installation)
- microsoft windows server 2012
- microsoft windows server 2012 (server core installation)
- microsoft windows server 2012 r2
- microsoft windows server 2012 r2 (server core installation)
- microsoft windows server 2016
- microsoft windows server 2016 (server core installation)
- microsoft windows server 2019
- microsoft windows server 2019 (server core installation)
- microsoft windows server 2022
- microsoft windows server 2022, 23h2 edition (server core installation)
- microsoft windows server 2025
- microsoft windows server 2025 (server core installation)
- 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 2022 23h2
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | mbanyamer/CVE-2025-30397---Windows-Server-2025-JScript-RCE-Use-After-Free- | 2025-05-31 |
| Exploit-DB | Microsoft Windows Server 2025 JScript Engine - Remote Code Execution (RCE) | 2025-06-05 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation, exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, GitHub Advisories, CISA KEV, NVD, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-30397 is a high vulnerability (CVSS 7.5) in Microsoft Windows, published May 13, 2025. CISA lists it as known to be exploited, since May 13, 2025. EUVD reports exploitation since May 13, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 27.3%, the 98th percentile. No source names a fixed version.
References
msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30397
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30397
vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-mitigation-script
vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-detection-script
nvd.nist.gov/vuln/detail/CVE-2025-30397
github.com/advisories/GHSA-r7hj-5f27-q8xw