CVE-2021-31181Sharepoint Enterprise Server Code Injection
Microsoft SharePoint Remote Code Execution Vulnerability
Published May 11, 2021 · Updated Feb 28, 2025
Key Facts
Patch immediately- CVE-2021-31181 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Sharepoint Enterprise Server (Microsoft), Sharepoint Foundation (Microsoft), Sharepoint Server (Microsoft).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 29% probability of exploitation in the next 30 days.
- Fixed versions are available, including Sharepoint Foundation 15.0.5345.1000, Sharepoint Server 16.0.10374.20000, Sharepoint Server 16.0.5161.1000.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
29%
Higher than 98.1% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
51/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
Microsoft SharePoint Remote Code Execution Vulnerability
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Sharepoint Enterprise ServerMicrosoft | 2016 | n/a |
| Sharepoint FoundationMicrosoft | 2013-sp1 | 15.0.5345.1000 |
| Sharepoint ServerMicrosoft | 2016, 2019 | 16.0.5161.1000 |
Patched Releases
Sharepoint Foundation
15.0.5345.1000
Sharepoint Server
16.0.10374.20000, 16.0.5161.1000
Timeline
Publicly disclosed
May 11, 2021
Last updated
Feb 28, 2025
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
FAQ
Common Questions.
Microsoft SharePoint Remote Code Execution Vulnerability
Affected: Sharepoint Enterprise Server (Microsoft) versions 2016; Sharepoint Foundation (Microsoft) versions 2013-sp1; Sharepoint Server (Microsoft) versions 2016, 2019. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Sharepoint Foundation 15.0.5345.1000, Sharepoint Server 16.0.10374.20000, Sharepoint Server 16.0.5161.1000.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2021-31181 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo