# CVE-2021-31181: Microsoft SharePoint Remote Code Execution Vulnerability

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, 11-05-2021)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-05-11 · Modified: 2025-02-28
- Record: https://cvemate.com/vulnerability/CVE-2021-31181 · JSON: https://cvemate.com/vulnerability/CVE-2021-31181/json

## Description

```text
Microsoft SharePoint Remote Code Execution Vulnerability
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- EPSS: 29.011%, percentile 98.204%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, metasploit)

## Affected

- microsoft microsoft sharepoint enterprise server 2016: ≥ 16.0.0, \< 16.0.5161.1000
- microsoft microsoft sharepoint foundation 2013 service pack 1: ≥ 15.0.0, \< 15.0.5345.1000
- microsoft microsoft sharepoint server 2019: ≥ 16.0.0, \< 16.0.10374.20000
- microsoft sharepoint\_enterprise\_server: 2016
- microsoft sharepoint\_foundation: 2013:sp1
- microsoft sharepoint\_server: 2019

## References

- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31181>
- <https://www.zerodayinitiative.com/advisories/ZDI-21-573/>
- <http://packetstormsecurity.com/files/163208/Microsoft-SharePoint-Unsafe-Control-And-ViewState-Remote-Code-Execution.html>
- <https://packetstorm.news/files/id/163208>

---

Data as of 2026-12-05T13:23:03.922Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
