Skip to content
RCE Advisory Advanced CVE-2025-21400

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.

cjm00n Follow

Originally disclosed on Microsoft

High 8.0 View original

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

The original report as published on the Microsoft Security Response Center, by cjm00n with Cyber Kunlun & Zhiniang Peng. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by cjm00n

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.