CVE-2025-49704Microsoft SharePoint Server code injection flaw
CVSS score
8.8
High
CVSS 3.1 from microsoft.com
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 22 Jul 2025.
US federal deadline to fix: 23 Jul 2025.
Ransomware
In plain words
An authenticated attacker with low privileges can run code on SharePoint Server over the network. SharePoint Server 2016 and 2019 are affected, and CISA reports it is in KEV and has been used in ransomware campaigns. Apply Microsoft's security update and CISA's mitigations now, and disconnect any public-facing SharePoint servers that are end-of-life.
Official description
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized 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 22 Jul 2025.
US federal agencies must fix it by 23 Jul 2025. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Disconnect public-facing versions of SharePoint Server that have reached their end-of-life (EOL) or end-of-service (EOS) to include SharePoint Server 2013 and earlier versions. For supported versions, please follow the mitigations according to CISA (URL listed below in Notes) and vendor instructions (URL listed below in Notes). Adhere to the applicable BOD 22-01 guidance for cloud services or discontinue use of the product if mitigations are not available.
Check whether you're affected
Find every system running Microsoft SharePoint Server 2019, Microsoft SharePoint Enterprise Server 2016 and compare its version with the affected versions.
Update to a fixed version
- Update Microsoft SharePoint Enterprise Server 2016 to 16.0.5508.1000 or later.
- Update Microsoft SharePoint Server 2019 to 16.0.10417.20027 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
- Low
- Privileges required
- Low
- User interaction
- None
- 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:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Sharepoint Server | 2016 · 2019 |
| Microsoft Microsoft SharePoint Enterprise Server 2016 | ≥ 16.0.0, < 16.0.5508.1000 |
| Microsoft Microsoft SharePoint Server 2019 | ≥ 16.0.0, < 16.0.10417.20027 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-49704 being exploited?
Yes. CISA added CVE-2025-49704 to its Known Exploited Vulnerabilities catalog on 22 Jul 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-49704?
CVE-2025-49704 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Microsoft Sharepoint Server (2016; 2019), Microsoft Microsoft SharePoint Enterprise Server 2016 (≥ 16.0.0, < 16.0.5508.1000), Microsoft Microsoft SharePoint Server 2019 (≥ 16.0.0, < 16.0.10417.20027)
Is there a patch for CVE-2025-49704?
The official record links to vendor advisories or patches; see “What to do” above.
References
- msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704(Vendor Advisory)
- www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/(Vendor Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49704(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.