Security Digest · Vulnerability record · Known exploited

CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability

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

CISA KEV · added 2025-07-22 CVSS 8.8 High EPSS 100.0% · p100.0 Check exposure

Should you act?

Exploited: patch now if you run it

CISA has confirmed exploitation in the wild. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • 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.

CISA’s 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.

Weakness type: CWE-94.

Product: Microsoft SharePoint · Assigned by: microsoft · Published: 2025-07-08

Affected and fixed versions

VendorProductAffected versions (per CVE record)
MicrosoftMicrosoft SharePoint Enterprise Server 201616.0.0 < 16.0.5508.1000
MicrosoftMicrosoft SharePoint Server 201916.0.0 < 16.0.10417.20027

Severity scores

Scored byCVSSScoreVector
microsoft3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: none
  • Scope: unchanged

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • 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.

Timeline

  • — CVE record published by microsoft
  • — erroneo.us brief: ToolShell: SharePoint On-Prem Unauthenticated RCE Chain
  • — Added to CISA’s Known Exploited Vulnerabilities catalog
  • — CISA remediation deadline for US federal agencies
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. Microsoft SharePoint Remote Code Execution Vulnerability msrc.microsoft.com
  2. microsoft.com microsoft.com

Vulnerability records

  1. CVE.org record CVE-2025-49704 cve.org
  2. NVD entry CVE-2025-49704 nvd.nist.gov

Government

  1. CISA Known Exploited Vulnerabilities catalog entry cisa.gov
  2. Listed in CISA KEV notes (cisa.gov) cisa.gov

All exploited Microsoft vulnerabilities · Today’s Security Digest