CVE-2025-49704: Microsoft SharePoint Code Injection
Microsoft SharePoint · listed in the CISA catalog of actively exploited vulnerabilities since 2025-07-22.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- >99.9%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2025-07-22
- US federal due date 2025-07-23
- Automatable (CISA SSVC)
- no
- technical impact: total
CVE-2025-49704 explained
CVE-2025-49704 is a code injection flaw (CWE-94) in Microsoft SharePoint Server. An authorized attacker can execute code over the network on affected SharePoint servers. CISA lists it as known to be exploited, including in ransomware campaigns, so affected on-premises SharePoint deployments need prompt attention.
Impact
An attacker with low-privileged access can run code on the SharePoint server over the network. No user interaction is needed and the attack complexity is low. Successful exploitation can fully compromise confidentiality, integrity and availability. CISA rates the technical impact as total, meaning total control of the affected component. CISA does not rate it as automatable. Attackers are known to exploit it, including for ransomware.
Who is affected
The CVE record lists Microsoft SharePoint Enterprise Server 2016 (x64) versions before 16.0.5508.1000, fixed in 16.0.5508.1000. It also lists Microsoft SharePoint Server 2019 (x64) versions before 16.0.10417.20027, fixed in 16.0.10417.20027. CISA's required action also refers to end-of-life SharePoint Server 2013 and earlier versions, which must be disconnected if public-facing.
Written with AI from the data on this page and checked against it automatically.
Official description
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
CISA 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 and vendor instructions. Adhere to the applicable BOD 22-01 guidance for cloud services or discontinue use of the product if mitigations are not available.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Microsoft SharePoint Enterprise Server 2016x64AffectedFixed in
- < 16.0.5508.1000
- 16.0.5508.1000
- Microsoft SharePoint Server 2019x64AffectedFixed in
- < 16.0.10417.20027
- 16.0.10417.20027
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft SharePoint Enterprise Server 2016x64 |
|
|
| Microsoft SharePoint Server 2019x64 |
|
|
How to fix it
- Update to the fixed version for your product:
- Microsoft SharePoint Enterprise Server 2016: 16.0.5508.1000
- Microsoft SharePoint Server 2019: 16.0.10417.20027
- Vendor advisory: msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704
- CISA's deadline for US federal agencies: 2025-07-23 (passed) – a useful benchmark for everyone else, too.
What to do
- Update Microsoft SharePoint Enterprise Server 2016 to
16.0.5508.1000or later. - Update Microsoft SharePoint Server 2019 to
16.0.10417.20027or later. - Disconnect public-facing SharePoint Server 2013 and earlier, or other end-of-life versions, as CISA requires.
- Follow the mitigations in the Microsoft advisory and CISA guidance for supported versions.
- Restrict network exposure of SharePoint servers and review accounts with access.
- Check SharePoint servers for signs of compromise, given known exploitation and ransomware use.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
Questions about CVE-2025-49704
- Is CVE-2025-49704 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2025-07-22 and notes known ransomware use. The US federal due date was 2025-07-23.
- Does an attacker need an account?
- Yes. The description says an authorized attacker is required, and the CVSS vector shows low privileges are needed. No user interaction is required.
- What about SharePoint Server 2013?
- CISA's required action says to disconnect public-facing SharePoint Server versions that have reached end-of-life or end-of-service, including SharePoint Server 2013 and earlier.
Written with AI from the data on this page and checked against it automatically.
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.