Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2025-21400)
An authenticated attacker with at least Site Owner permissions could write arbitrary code to a SharePoint Server and execute it remotely. The vulnerability requires user interaction, as the attack involves a client connecting to a malicious server.
FAQ
According to the CVSS metric, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a client to connect to a malicious server, and that could allow the attacker to gain code execution on the client.
FAQ
How could an attacker exploit the vulnerability? In a network-based attack, an attacker authenticated as at least a Site Owner, could write arbitrary code to inject and execute code remotely on the SharePoint Server.
Microsoft Office SharePoint
Microsoft Office SharePoint
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation or access control on code written by a Site Owner, allowing it to be executed remotely.
Impact
An authenticated Site Owner could gain code execution on the SharePoint Server, and a client connecting to a malicious server could also be affected.
What the attacker needed
Authenticated as at least Site Owner; user interaction (client connects to malicious server)
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SharePoint is a Microsoft tool for sharing documents and team sites. A user with a fairly high permission level (Site Owner) could put harmful code onto the server and make it run. The attack also needs someone to connect to a malicious server, which is why user interaction is required.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.