Remote Code Execution in Microsoft Office SharePoint
CVE-2025-49704 is a remote code execution vulnerability in on-premises Microsoft Office SharePoint / SharePoint Server. The provided content describes it as an improper control of code generation ('code injection') issue and also references insecure deserialization of untrusted data as the underlying exploitation mechanism in some reporting. Microsoft identified it as part of the SharePoint 'ToolShell' exploit chain, where it was paired with CVE-2025-49706 and later related bypass variants CVE-2025-53770 and CVE-2025-53771. Observed exploitation targeted internet-facing on-premises SharePoint servers, including via POST requests to the SharePoint ToolPane endpoint. Successful exploitation was followed by deployment of malicious ASPX payloads such as spinstall0.aspx to execute attacker-controlled code and retrieve SharePoint ASP.NET MachineKey material. The issue affects on-premises SharePoint Server deployments and does not affect SharePoint Online in Microsoft 365.
Are you exposed to this one?
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.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Affected products & vendors
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.
Recent activity
140 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A SharePoint vulnerability referenced as part of the 2025 ToolShell exploitation campaign in which chained SharePoint flaws were used to target customers.
A previously disclosed Microsoft SharePoint vulnerability (not further described in the content) referenced as related to later variant zero-days that were heavily exploited in 2025.
Microsoft SharePoint Server code injection/RCE vulnerability; added to CISA KEV due to active exploitation and referenced as related to CVE-2025-53770.
A Microsoft vulnerability that CISA KEV’s knownRansomwareCampaignUse field silently flipped to Known during 2025 (evidence of ransomware campaign use).
The version that knows your environment.
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.