CVE-2025-59228 Microsoft SharePoint Remote Code Execution Vulnerability

High 8.8 Published Updated

An authorized attacker can execute arbitrary code remotely due to improper input validation in Microsoft SharePoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-59228?

CVE-2025-59228 is a high-severity code injection vulnerability in Microsoft Sharepoint Server, published on 14 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper input validation in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Weakness: CWE-20

Which versions are affected by CVE-2025-59228?

It affects 1 product.

Products include Microsoft Sharepoint Server.

How do I fix CVE-2025-59228?

No fix has been published for CVE-2025-59228 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-59228 being exploited?

There is no known exploitation of CVE-2025-59228 in the wild and no public exploit code.

All Microsoft Sharepoint Server vulnerabilities

Sources

Also known as GHSA-f8r8-qh8w-ggm2.

Is CVE-2025-59228 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free