CVE-2025-47172 Microsoft SharePoint Server Remote Code Execution Vulnerability
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.
Other vulnerabilities in Microsoft Sharepoint Enterprise Server
- CVE-2019-0604 Microsoft SharePoint Remote Code Execution
- CVE-2023-24955 Microsoft SharePoint Server Code Injection
- CVE-2025-49706 Microsoft SharePoint Improper Authentication
- CVE-2020-1210 Microsoft SharePoint Remote Code Execution Vulnerability
- CVE-2020-1595 Microsoft SharePoint Remote Code Execution Vulnerability
Sources
Also known as GHSA-rq5m-6c4v-55rj.