CVEs / CVE-2025-49704
CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability
- Known exploited in the CISA KEV catalog since 22 Jul 2025
- high 8.8 CVSS 3.1 (from the CNA)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% 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-49704
Summary
Microsoft SharePoint contains a code injection vulnerability that could allow an authorized attacker to execute code over a network. This vulnerability could be chained with CVE-2025-49706. CVE-2025-53770 is a patch bypass for CVE-2025-49704, and the updates for CVE-2025-53770 include more robust protection than those for CVE-2025-49704.
Description
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft Microsoft SharePoint Enterprise Server 2016 | from 16.0.0, before 16.0.5508.1000 | 16.0.5508.1000 |
| Microsoft Microsoft SharePoint Server 2019 | from 16.0.0, before 16.0.10417.20027 | 16.0.10417.20027 |
Exploitation
| In CISA KEV since | 22 Jul 2025 |
|---|---|
| Due date for US federal agencies | 23 Jul 2025 |
| Used in ransomware campaigns | Known |
| Required action | 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. |
Severity
| CVSS 3.1 | 8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by the CNA ([email protected]) |
|---|---|
| Weakness | CWE-94 |
References
- CVE-2025-49704 on NVD
- CVE-2025-49704 in the CISA KEV catalog
- https://www.cisa.gov/news-events/alerts/2025/07/20/microsoft-releases-guidance-exploitation-sharepoint-vulnerability-cve-2025-53770 (cited by CISA)
- https://www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/ (cited by CISA)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704 (cited by CISA)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704 Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49704 US Government Resource
- https://www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/ Vendor Advisory
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.