---
title: "CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-49704/
description: "CVE-2025-49704 (Microsoft SharePoint): Exploited in the wild (CISA KEV). Improper control of generation of code ('code injection') in Microsoft Office…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-07-08
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-49704"
kev: true
cvss: 8.8
epss: 0.99995
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability

**Signal:** Exploited: patch now if you run it. CISA has confirmed exploitation in the wild. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Yes, if you run Microsoft SharePoint. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2025-07-22, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2025-07-23 ; treat that as the outer limit, not the target. CISA also lists it as known to be used in ransomware campaigns .
- EPSS 100.0% , percentile 100.0: FIRST’s model estimates a 100.0% chance of exploitation activity in the next 30 days, higher than 100.0% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Editorial verdict: Check exposure. ToolShell: SharePoint On-Prem Unauthenticated RCE Chain — Fixes shipped in July 2025, but ToolShell stole ASP.NET machine keys that survive patching, so any on-prem SharePoint that was internet-facing then needs proof that keys were rotated and no backdoor remains.

## What it is

Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

## Affected products (CVE record)

- 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

## Severity

- microsoft CVSS 3.1: 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`

## Exploitation

- CISA KEV: added 2025-07-22; federal due date 2025-07-23. Known ransomware use: Known.
- 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 (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.
- CISA SSVC assessment: exploitation active , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 100.00% probability of exploitation activity in the next 30 days; percentile 100.0.

## Sources

- [Microsoft SharePoint Remote Code Execution Vulnerability](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704)
- [microsoft.com](https://www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/)
- [CVE.org record CVE-2025-49704](https://www.cve.org/CVERecord?id=CVE-2025-49704)
- [NVD entry CVE-2025-49704](https://nvd.nist.gov/vuln/detail/CVE-2025-49704)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49704)
- [Listed in CISA KEV notes (cisa.gov)](https://www.cisa.gov/news-events/alerts/2025/07/20/microsoft-releases-guidance-exploitation-sharepoint-vulnerability-cve-2025-53770)

---
Source page: https://erroneo.us/security/cve/CVE-2025-49704/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
