Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability

96
Patch now
HIGH 8.8EXPLOITEDWATCHLISTDOWNGRADE

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 score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance100.0% (top 1%)
CISA exploited listYes, fix due 2025-07-23, used in ransomware
WeaknessCWE-94
Published2025-07-08
Last modified2026-06-17
Publisher (CNA): Microsoft Corporation · Vendor: microsoft

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

microsoft sharepoint server DOWNGRADE
Affected: 2016 · 2019
Fixed in: no fixed release known
Safe to downgrade to: a release before 2016
1. Check installed version
apt-cache policy sharepoint-server || rpm -q sharepoint-server || sharepoint-server --version
2. No fixed release: DOWNGRADE to a release before 2016 (Debian / Ubuntu)
apt-cache madison sharepoint-server sudo apt install sharepoint-server=<VERSION_BEFORE_2016> sudo apt-mark hold sharepoint-server
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sharepoint-server sudo dnf downgrade sharepoint-server-<VERSION_BEFORE_2016> sudo dnf versionlock add sharepoint-server
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · R · FIXED · 4.6.2-1.fc46 · FEDORA-2026-1dd919a262 · source
sudo dnf upgrade --advisory=FEDORA-2026-1dd919a262
Fedora ELN · perl-Mail-AuthenticationResults · FIXED · 2.20261029-1.eln159 · FEDORA-2026-a2c11d7da6 · source
sudo dnf upgrade --advisory=FEDORA-2026-a2c11d7da6

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.