CVE-2025-49704 in Microsoft Sharepoint Server and 1 more product
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Microsoft | Sharepoint Server | 2016 2019 |
| Microsoft | Sharepoint Server 2010 | 2016 2019 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2025-07-22 |
|---|---|
| Public exploit | Not confirmed |
Official description
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-49704 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-246774-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-07-08 |
| Last modified | 2025-10-27 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-49704 describes a code injection vulnerability in Microsoft Office SharePoint that allows an authorized attacker to execute arbitrary code over a network. This vulnerability has a CVSS score of 8.8, indicating a high severity level. The vulnerability is listed in the KEV catalog, which suggests it poses a significant risk to organizations. Immediate attention is required to mitigate this risk, especially in environments where SharePoint is used for critical operations.
The attack vector involves an authorized user exploiting improper code generation controls in Microsoft Office SharePoint. The attacker can inject and execute arbitrary code over the network, potentially leading to full system compromise. The lack of proper input validation and sanitization in the affected component enables this attack. The attacker does not need physical access or user interaction, making the vulnerability particularly dangerous in networked environments.
Compensating controls AI-drafted, review before use
Implement strict input validation and output encoding on all SharePoint forms and scripts to prevent code injection. Enforce least privilege access to SharePoint and monitor for unusual activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-49704?
CVE-2025-49704 describes a code injection vulnerability in Microsoft Office SharePoint that allows an authorized attacker to execute arbitrary code over a network. This vulnerability has a CVSS score of 8.8, indicating a high severity level. The vulnerability is listed in the KEV catalog, which suggests it poses a significant risk to organizations. Immediate attention is required to mitigate this risk, especially in environments where SharePoint is used for critical operations.
What is the CVSS score for CVE-2025-49704?
CVE-2025-49704 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 9.3%.
Is CVE-2025-49704 actively exploited?
Yes. CVE-2025-49704 is in the CISA known-exploited catalog (added 2025-07-22). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2025-49704?
Priority: HIGH. Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49704 PSIRT: [email protected]
What systems are affected by CVE-2025-49704?
CVE-2025-49704 affects Microsoft Sharepoint Server, Sharepoint Server 2010.
What NERC-CIP standard applies to CVE-2025-49704?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized code execution, which could compromise the integrity and availability of critical cyber assets.
What IEC 62443 requirement maps to CVE-2025-49704?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to execute arbitrary code, which directly impacts the security of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Microsoft","product":"Sharepoint Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-10-27.