Microsoft SharePoint SPFieldMultiLineText Cross-Site Scripting Vulnerability
The SPFieldMultiLineText class in Microsoft SharePoint fails to properly validate user-supplied data, allowing an attacker to inject an arbitrary script. A remote attacker could execute script in the context of a target user who visits a malicious page or opens a malicious file.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute web requests with a target user's privileges on affected installations of Microsoft SharePoint. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 the SPFieldMultiLineText class does not properly validate or encode user-supplied data before rendering it, allowing script injection.
Impact
An attacker could execute script in the context of a target user, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim visits a malicious page; or opens a malicious file
The fix
Microsoft issued an update to correct this vulnerability.
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.
SharePoint is a Microsoft product for sharing documents and team sites. A part of it that handles multi-line text fields did not check what users typed in, so someone could sneak in a small script. When another user viewed that content, the script would run in their browser with their permissions, which is called cross-site scripting.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.