CVE-2025-49704 is a remote code execution vulnerability in Microsoft Office SharePoint caused by improper control of code generation. Microsoft classifies it as a code injection issue, and multiple technical analyses describe the vulnerable path as involving unsafe handling of attacker-controlled serialized or XML-based data within SharePoint web part processing. Reported exploitation targeted the ToolPane request flow and abused crafted web part data to reach dangerous deserialization and object instantiation behavior, including use of the ExcelDataSet control in Microsoft.PerformancePoint.Scorecards components. Successful exploitation allows code execution on vulnerable on-premises SharePoint servers over the network. Although Microsoft described the flaw as requiring an authorized attacker, public reporting shows it was frequently chained with CVE-2025-49706 and later patch-bypass issues CVE-2025-53770 and CVE-2025-53771 as part of the ToolShell exploit chain to achieve broader compromise.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module, 'sharepoint_toolpane_rce.rb', which exploits unauthenticated remote code execution vulnerabilities in Microsoft SharePoint Server (CVE-2025-49704, CVE-2025-49706, and CVE-2025-53771). The exploit leverages a combination of authentication bypass and unsafe deserialization to execute arbitrary commands as the SharePoint site user. The module constructs a malicious serialized .NET DataSet object, compresses it, and embeds it in a crafted XML payload sent via a POST request to the '/_layouts/15/ToolPane.aspx' endpoint. The exploit is unauthenticated and weaponized, allowing for custom command execution. The code is written in Ruby and is structured as a standard Metasploit exploit module, making it easy to use within the Metasploit framework. The repository is highly focused, containing only the exploit module file, and targets vulnerable, unpatched SharePoint Server instances on Windows.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
163 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A previously known SharePoint vulnerability mentioned only as background comparison for insecure deserialization risks.
A SharePoint vulnerability referenced only as related content and not discussed in the main article.
A SharePoint Server vulnerability previously used in ToolShell attack chains to compromise servers.
SharePoint code injection vulnerability enabling authenticated remote code execution, commonly described here as part of a phishing-to-ransomware exploitation chain.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.