CVE-2018-8168 Cross-site scripting in Microsoft SharePoint
Attackers can exploit improper sanitization in SharePoint Server to elevate privileges via specially crafted web requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-8168?
CVE-2018-8168 is a medium-severity cross-site scripting vulnerability in Microsoft Sharepoint Server, published on 9 May 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
An elevation of privilege vulnerability exists when Microsoft SharePoint Server does not properly sanitize a specially crafted web request to an affected SharePoint server, aka "Microsoft SharePoint Elevation of Privilege Vulnerability." This affects Microsoft SharePoint Server, Microsoft SharePoint. This CVE ID is unique from CVE-2018-8149, CVE-2018-8155, CVE-2018-8156.
Weakness: CWE-79
Which versions are affected by CVE-2018-8168?
It affects 1 product.
Products include Microsoft Sharepoint Server.
How do I fix CVE-2018-8168?
No fix has been published for CVE-2018-8168 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-8168 being exploited?
There is no known exploitation of CVE-2018-8168 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Sharepoint Server
- CVE-2026-50522 Microsoft SharePoint Deserialization of Untrusted Data Vulnerability
- CVE-2026-58644 Microsoft SharePoint Deserialization of Untrusted Data
- CVE-2026-20963 Microsoft SharePoint Deserialization of Untrusted Data
- CVE-2025-53770 Microsoft SharePoint Deserialization of Untrusted Data
- CVE-2023-29357 Microsoft SharePoint Server Privilege Escalation
Sources
Also known as GHSA-4gx6-m4m9-rv4x.