Skip to content
XSS Advisory Intermediate CVE-2025-21393

Microsoft SharePoint Server Spoofing Vulnerability (CVE-2025-21393)

A spoofing vulnerability in Microsoft SharePoint Server allows an authenticated Site Member to inject a malicious script via a crafted file, leading to cross-site scripting. An attacker could convince a user to open the file, potentially fetching sensitive information or altering the page.

Felix Boulet Follow

Originally disclosed on Microsoft

High 6.3 View original

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to some loss of integrity (I:L)? What does that mean for this vulnerability? Integrity is impacted as XSS allows an attacker to add their malicious script to fetch victim's sensitive info or to change DOM execution.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? The attacker must be authenticated to the target site as at least a Site Member.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file.

FAQ

There are multiple update packages available for some of the affected software. Do I need to install all the updates listed in the Security Updates table for the software? Yes. Customers should apply all updates offered for the software installed on their systems. If multiple updates apply, they can be installed in any order.

FAQ

Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Felix Boulet. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely insufficient sanitisation of user-supplied content in SharePoint, allowing script injection.

Impact

An attacker could cause some loss of integrity by running a script that fetches sensitive information or changes the page, but the user must be convinced to open a crafted file.

What the attacker needed

Authenticated as at least a Site Member; victim clicks a link and opens a file

The fix

Microsoft released security updates; customers should apply all offered updates for their installed software.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a cross-site scripting (XSS) bug in SharePoint. An attacker who already has a low-level account can trick a logged-in user into opening a malicious file, which then runs the attacker's script in the user's browser. That script could steal information or change what the user sees on the page.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Felix Boulet

View all

9 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.