CVE-2021-40487 Microsoft SharePoint Server Remote Code Execution Vulnerability

High 8.1 Published Updated

Attackers can execute arbitrary code on Microsoft SharePoint Server via a code injection vulnerability, requiring immediate patching.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40487?

CVE-2021-40487 is a high-severity code injection vulnerability in Microsoft Sharepoint Enterprise Server, published on 13 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Microsoft SharePoint Server Remote Code Execution Vulnerability

Weakness: CWE-94

Which versions are affected by CVE-2021-40487?

It affects 3 products.

Products include Microsoft Sharepoint Enterprise Server, Microsoft Sharepoint Foundation, Microsoft Sharepoint Server.

How do I fix CVE-2021-40487?

No fix has been published for CVE-2021-40487 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-40487 being exploited?

There is no known exploitation of CVE-2021-40487 in the wild and no public exploit code.

All Microsoft Sharepoint Enterprise Server vulnerabilities

Sources

Also known as GHSA-w9qh-f4fr-cg94.

Is CVE-2021-40487 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free