CVE-2025-30397Microsoft Windows Scripting Engine type confusion flaw
CVSS score
7.5
High
CVSS 3.1 from microsoft.com
Exploit probability (EPSS)
27.5%
27.5% chance of exploitation in the next 30 days, higher than 98.1% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 13 May 2025.
US federal deadline to fix: 3 Jun 2025.
In plain words
An unauthenticated attacker can run code on affected Windows systems by getting a user to interact with a crafted web content over the network. It affects multiple Windows 10 and Windows 11 versions, and CISA reports active exploitation in the wild. Install the Microsoft security update for your Windows version now.
Official description
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Source: NVD · CNA: secure@microsoft.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 13 May 2025.
US federal agencies must fix it by 3 Jun 2025. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Microsoft Windows 10 1507, Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 21h2, Microsoft Windows 10 22h2 and compare its version with the affected versions.
Update to a fixed version
- Update Windows Server 2025 to 10.0.26100.3981, 10.0.26100.4061 or later, on the branch you run.
- Update Windows 10 1507 to 10.0.10240.21014 or later.
- Update Windows 10 1607 to 10.0.14393.8066 or later.
- Update Windows 10 1809 to 10.0.17763.7314 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Windows 10 1507 | < 10.0.10240.21014 |
| Microsoft Windows 10 1607 | < 10.0.14393.8066 |
| Microsoft Windows 10 1809 | < 10.0.17763.7314 |
| Microsoft Windows 10 21h2 | < 10.0.19044.5854 |
| Microsoft Windows 10 22h2 | < 10.0.19045.5854 |
| Microsoft Windows 11 22h2 | < 10.0.22621.5335 |
| Microsoft Windows 11 23h2 | < 10.0.22631.5335 |
| Microsoft Windows 11 24h2 | < 10.0.26100.3981 |
| Microsoft Windows Server 2008 | r2 |
| Microsoft Windows Server 2012 | r2 · ≥ 6.2.9200.0, < 6.2.9200.25475 |
| Microsoft Windows Server 2016 | < 10.0.14393.8066 · ≥ 10.0.14393.0, < 10.0.14393.8066 |
| Microsoft Windows Server 2019 | < 10.0.17763.7314 · ≥ 10.0.17763.0, < 10.0.17763.7314 |
| Microsoft Windows Server 2022 | < 10.0.20348.3692 · ≥ 10.0.20348.0, < 10.0.20348.3692 |
| Microsoft Windows Server 2022 23h2 | < 10.0.25398.1611 |
| Microsoft Windows Server 2025 | < 10.0.26100.3981 · ≥ 10.0.26100.0, < 10.0.26100.4061 |
| Microsoft Windows 10 Version 1507 | ≥ 10.0.10240.0, < 10.0.10240.21014 |
| Microsoft Windows 10 Version 1607 | ≥ 10.0.14393.0, < 10.0.14393.8066 |
| Microsoft Windows 10 Version 1809 | ≥ 10.0.17763.0, < 10.0.17763.7314 |
| Microsoft Windows 10 Version 21H2 | ≥ 10.0.19044.0, < 10.0.19044.5854 |
| Microsoft Windows 10 Version 22H2 | ≥ 10.0.19045.0, < 10.0.19045.5854 |
| Microsoft Windows 11 Version 22H2 | ≥ 10.0.22621.0, < 10.0.22621.5335 |
| Microsoft Windows 11 Version 22H3 | ≥ 10.0.22631.0, < 10.0.22631.5335 |
| Microsoft Windows 11 Version 23H2 | ≥ 10.0.22631.0, < 10.0.22631.5335 |
| Microsoft Windows 11 Version 24H2 | ≥ 10.0.26100.0, < 10.0.26100.4061 |
| Microsoft Windows Server 2008 R2 Service Pack 1 | ≥ 6.1.7601.0, < 6.1.7601.27729 |
Weakness
- CWE-843 type confusion
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-30397 being exploited?
Yes. CISA added CVE-2025-30397 to its Known Exploited Vulnerabilities catalog on 13 May 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 27.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-30397?
CVE-2025-30397 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Microsoft Windows 10 1507 (< 10.0.10240.21014), Microsoft Windows 10 1607 (< 10.0.14393.8066), Microsoft Windows 10 1809 (< 10.0.17763.7314), Microsoft Windows 10 21h2 (< 10.0.19044.5854), Microsoft Windows 10 22h2 (< 10.0.19045.5854), Microsoft Windows 11 22h2 (< 10.0.22621.5335)
Is there a patch for CVE-2025-30397?
The official record links to vendor advisories or patches; see “What to do” above.
References
- msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30397(Vendor Advisory)
- www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-mitigation-script(Mitigation, Third Party Advisory)
- www.vicarius.io/vsociety/posts/cve-2025-30397-type-confusion-vulnerability-in-microsoft-scripting-engine-detection-script(Exploit, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30397(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.