CVE-2026-65660 in SharePoint Enterpriseinfo

Summary

by MITRE • 08/11/2026

Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to perform spoofing over a network.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 08/11/2026

Code injection vulnerabilities in Microsoft Office SharePoint represent a critical security weakness that stems from inadequate input validation and sanitization mechanisms within the platform's code generation processes. This vulnerability falls under the common weakness enumeration CWE-94 which specifically addresses the improper control of generation of code, where attackers can inject malicious code into applications that dynamically generate code based on user-supplied data. The flaw occurs when SharePoint fails to properly validate or sanitize inputs that are subsequently used in code generation contexts, creating opportunities for attackers to manipulate the system's behavior through carefully crafted payloads.

The operational impact of this vulnerability extends beyond simple code execution to encompass sophisticated spoofing capabilities that can deceive users and systems alike. An authorized attacker with sufficient privileges can exploit this weakness to inject malicious code that appears legitimate within the SharePoint environment, enabling them to create false content or redirect users to malicious sites without detection. This type of attack leverages the trust relationships inherent in SharePoint's architecture, where injected code can masquerade as legitimate system components or user-generated content. The vulnerability operates at the intersection of several ATT&CK techniques including T1059 for command and script injection and T1566 for spoofing, creating a multi-layered attack vector that can bypass traditional security controls.

The technical implementation of this code injection flaw typically involves manipulating SharePoint's document libraries, web parts, or workflow systems where user input is processed through dynamic code generation mechanisms. Attackers can exploit this by submitting malicious content through various entry points including file uploads, form submissions, or even API calls that ultimately feed into code generation processes. The vulnerability becomes particularly dangerous in environments where SharePoint serves as a central collaboration platform with extensive user access controls, as it allows attackers to escalate privileges and maintain persistent access within the network infrastructure. This creates opportunities for attackers to establish backdoors, exfiltrate sensitive data, or disrupt business operations through carefully crafted malicious code that appears legitimate within the SharePoint ecosystem.

Organizations should implement comprehensive mitigation strategies that include strict input validation, regular security assessments, and monitoring of anomalous code generation patterns within SharePoint environments. The recommended approach involves deploying web application firewalls specifically configured to detect and block suspicious code injection attempts, implementing principle of least privilege access controls, and establishing robust logging mechanisms to monitor for unauthorized code generation activities. Additionally, organizations should conduct regular penetration testing focused on SharePoint's dynamic code generation features, ensure all SharePoint components are updated with the latest security patches, and implement network segmentation to limit the potential impact of successful exploitation. These measures align with industry best practices outlined in standards such as NIST SP 800-53 and ISO 27001, which emphasize the importance of input validation and code integrity controls in preventing injection-based attacks.

Responsible

Microsoft

Reservation

07/22/2026

Disclosure

08/11/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!