CVE-2025-47172 Microsoft SharePoint Server Remote Code Execution Vulnerability

High 8.8 Published Updated

An authorized attacker can execute arbitrary code via SQL injection in Microsoft SharePoint Server, requiring immediate patching.

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-47172?

CVE-2025-47172 is a high-severity SQL injection vulnerability in Microsoft Sharepoint Enterprise Server, published on 10 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper neutralization of special elements used in an sql command ('sql injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Weakness: CWE-89

Which versions are affected by CVE-2025-47172?

It affects 2 products.

Products include Microsoft Sharepoint Enterprise Server, Microsoft Sharepoint Server.

How do I fix CVE-2025-47172?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-47172 being exploited?

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

All Microsoft Sharepoint Enterprise Server vulnerabilities

Sources

Also known as GHSA-rq5m-6c4v-55rj.

Is CVE-2025-47172 in your software?

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

Check your SBOMs for free