The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47172

CVE-2025-47172: Microsoft SharePoint Server SQLi Vulnerability

CVE-2025-47172 is a SQL injection vulnerability in Microsoft SharePoint Enterprise Server allowing authorized attackers to execute code remotely. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-47172 Overview

CVE-2025-47172 is a SQL Injection vulnerability affecting Microsoft Office SharePoint that allows an authenticated attacker to execute arbitrary code over a network. The vulnerability stems from improper neutralization of special elements used in SQL commands (CWE-89), enabling attackers with valid credentials to manipulate database queries and potentially gain full control over the affected SharePoint environment.

Critical Impact

Authenticated attackers can exploit this SQL injection flaw to execute malicious code remotely, potentially compromising confidentiality, integrity, and availability of SharePoint deployments and underlying data stores.

Affected Products

  • Microsoft SharePoint Enterprise Server 2016
  • Microsoft SharePoint Server 2019
  • Microsoft SharePoint Server Subscription Edition

Discovery Timeline

  • June 10, 2025 - CVE-2025-47172 published to NVD
  • July 9, 2025 - Last updated in NVD database

Technical Details for CVE-2025-47172

Vulnerability Analysis

This SQL Injection vulnerability exists within Microsoft SharePoint's handling of user-supplied input in SQL queries. When an authenticated user submits specially crafted input containing malicious SQL elements, the application fails to properly sanitize or parameterize these elements before incorporating them into database queries. This allows attackers to break out of the intended query context and execute arbitrary SQL commands against the underlying database.

The vulnerability requires low-privilege authenticated access to exploit, meaning an attacker must first obtain valid credentials to the SharePoint environment. However, once authenticated, no user interaction is required to exploit the flaw. Successful exploitation can lead to complete compromise of data confidentiality, integrity, and system availability.

Root Cause

The root cause is classified as CWE-89: Improper Neutralization of Special Elements used in an SQL Command. SharePoint components fail to properly validate, sanitize, or parameterize user-controlled input before constructing SQL queries. This allows attackers to inject malicious SQL syntax that alters the intended query logic, enabling unauthorized data access, modification, or execution of stored procedures that could lead to code execution.

Attack Vector

The attack is network-based and requires the attacker to have authenticated access to the SharePoint environment. The exploitation flow involves:

  1. An attacker obtains valid credentials to the target SharePoint deployment
  2. The attacker identifies input fields or API endpoints that process user data in SQL queries
  3. Malicious SQL payloads are crafted to escape the intended query context
  4. The injected SQL commands are executed with the database privileges of the SharePoint application
  5. Depending on database configuration and privileges, this can escalate to operating system command execution via features like xp_cmdshell or similar mechanisms

The vulnerability does not require special privileges beyond basic authenticated access, and exploitation does not depend on user interaction, making it particularly dangerous in enterprise environments where SharePoint is widely deployed.

Detection Methods for CVE-2025-47172

Indicators of Compromise

  • Unusual or malformed HTTP requests to SharePoint endpoints containing SQL metacharacters such as single quotes, double dashes, semicolons, or UNION keywords
  • Database error messages appearing in application logs or responses indicating SQL syntax errors
  • Unexpected database queries or stored procedure executions in SQL Server audit logs
  • Anomalous data access patterns or bulk data retrieval from SharePoint content databases

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common SQL injection patterns targeting SharePoint endpoints
  • Enable and monitor SQL Server audit logging for suspicious query patterns, especially those containing typical injection signatures
  • Implement application-layer monitoring to detect requests with encoded or obfuscated SQL injection payloads
  • Configure IIS logging to capture full request URIs and POST bodies for forensic analysis

Monitoring Recommendations

  • Monitor SharePoint ULS logs for database connectivity errors or unexpected SQL exceptions
  • Establish baseline query patterns and alert on deviations that may indicate injection attempts
  • Enable Microsoft Defender for Endpoint and configure alerting for suspicious SharePoint process behavior
  • Review SQL Server security audit events (Event ID 33205) for failed login attempts or permission violations

How to Mitigate CVE-2025-47172

Immediate Actions Required

  • Apply the latest Microsoft security updates for all affected SharePoint Server versions immediately
  • Review and restrict SharePoint site collection permissions to minimize the attack surface from authenticated users
  • Implement network segmentation to limit access to SharePoint servers from untrusted network segments
  • Enable enhanced SQL Server auditing to detect potential exploitation attempts

Patch Information

Microsoft has released security updates to address CVE-2025-47172. Administrators should consult the Microsoft Security Response Center advisory for detailed patching guidance specific to their SharePoint version. Ensure all SharePoint components including language packs and service applications are updated to the patched versions.

For SharePoint Server Subscription Edition, apply the latest cumulative update. For SharePoint Server 2019 and SharePoint Enterprise Server 2016, apply the corresponding security update packages released by Microsoft.

Workarounds

  • Implement strict input validation at the application perimeter using WAF rules to filter SQL injection patterns
  • Restrict database user permissions used by SharePoint to the minimum required privileges, avoiding db_owner or sysadmin roles where possible
  • Consider temporarily restricting access to affected SharePoint functionality for non-essential users until patches are applied
  • Enable SQL Server Transparent Data Encryption (TDE) and Always Encrypted to limit data exposure in case of successful exploitation
bash
# Example: Enable SQL Server Audit for SharePoint Database
# Run in SQL Server Management Studio or via sqlcmd

# Create server audit
CREATE SERVER AUDIT SharePointSecurityAudit
TO FILE (FILEPATH = 'C:\SQLAudit\')
WITH (ON_FAILURE = CONTINUE);

# Enable the audit
ALTER SERVER AUDIT SharePointSecurityAudit
WITH (STATE = ON);

# Create database audit specification for SharePoint content database
USE [WSS_Content]
CREATE DATABASE AUDIT SPECIFICATION SharePointDBSpec
FOR SERVER AUDIT SharePointSecurityAudit
ADD (SELECT, INSERT, UPDATE, DELETE ON DATABASE::WSS_Content BY public);

ALTER DATABASE AUDIT SPECIFICATION SharePointDBSpec
WITH (STATE = ON);

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechMicrosoft Sharepoint

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • Microsoft CVE-2025-47172 Advisory
  • Related CVEs
  • CVE-2026-26105: SharePoint XSS Vulnerability

  • CVE-2020-16952: SharePoint Enterprise Server RCE Flaw

  • CVE-2026-20959: Microsoft SharePoint XSS Vulnerability

  • CVE-2025-64672: Microsoft SharePoint Server XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English