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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C · source cna
Exploit chance (EPSS)
99.996%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2025-07-22 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 0
Weakness
- CWE-94: Improper Control of Generation of Code
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Microsoft SharePoint Code Injection Vulnerability |
|---|---|
| Vendor / product | Microsoft / SharePoint |
| Date added | 2025-07-22 |
| Federal remediation due date | 2025-07-23 |
| 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. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-07-22 |
Timeline
- 2025-07-08Published by the CNA16:58 UTC
- 2025-07-22Added to the CISA KEV catalog14 days after publication
- 2025-07-22CISA SSVC decision recorded14 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| microsoft sharepoint_server | 2016no fix listed2019no fix listed | not listednot listed |
| microsoft sharepoint_server_2016 | from 16.0.0 before 16.0.5508.1000fixed in 16.0.5508.1000 | 16.0.5508.1000 |
| microsoft sharepoint_server_2019 | from 16.0.0 before 16.0.10417.20027fixed in 16.0.10417.20027 | 16.0.10417.20027 |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704
- https://www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49704
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-49704'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-49704'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-49704'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-49704'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-49704'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).