CVE-2018-8518 Cross-site scripting in Microsoft SharePoint
Attackers can exploit improper sanitization in SharePoint to elevate privileges via 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
- Available
What is CVE-2018-8518?
CVE-2018-8518 is a medium-severity cross-site scripting vulnerability in Microsoft Sharepoint Enterprise Server, published on 10 Oct 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. This CVE ID is unique from CVE-2018-8480, CVE-2018-8488, CVE-2018-8498.
Weakness: CWE-79
Which versions are affected by CVE-2018-8518?
It affects 1 product.
Products include Microsoft Sharepoint Enterprise Server.
How do I fix CVE-2018-8518?
Apply the vendor's patch.
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-8518 being exploited?
There is no known exploitation of CVE-2018-8518 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Sharepoint Enterprise Server
- CVE-2019-0604 Microsoft SharePoint Remote Code Execution
- CVE-2023-24955 Microsoft SharePoint Server Code Injection
- CVE-2025-49706 Microsoft SharePoint Improper Authentication
- CVE-2020-1210 Microsoft SharePoint Remote Code Execution Vulnerability
- CVE-2020-1595 Microsoft SharePoint Remote Code Execution Vulnerability
Sources
Also known as GHSA-g49q-72gp-cj2r.