CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability
CVE-2025-49704 is a high-severity flaw (CVSS 8.8) affecting sharepoint server, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 100.0% (top 1%) |
| CISA exploited list | Yes, fix due 2025-07-23, used in ransomware |
| Weakness | CWE-94 |
| Published | 2025-07-08 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Metasploit: Microsoft SharePoint Server ToolPane Unauthenticated Remote Code Execution (aka ToolShell)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-49704?
sharepoint server: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-49704 being exploited?
Yes. CVE-2025-49704 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2025-49704 affect?
CVE-2025-49704 affects sharepoint server. Severity is high (CVSS 8.8). Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
How urgent is CVE-2025-49704?
Priority 96/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; On your watchlist
Software pages
SharePoint vulnerabilities · Microsoft Office vulnerabilities
Related CVEs
- CVE-2026-55126 HIGH 7.3 UPGRADE Improper neutralization of input during web page generation ('cross-site scripting') in Microsoft Office Share
- CVE-2024-49068 HIGH 8.2 DOWNGRADE Microsoft SharePoint Elevation of Privilege Vulnerability
- CVE-2024-49065 MEDIUM 5.5 MITIGATE DOWNGRADE Microsoft Office Remote Code Execution Vulnerability
- CVE-2026-97782 MEDIUM 6.8 MITIGATE Observable discrepancy in Microsoft Office SharePoint allows an authorized attacker to perform tampering over
- CVE-2026-32201 MEDIUM 6.5 EXPLOITED UPGRADE Microsoft SharePoint Server Improper Input Validation Vulnerability