8.8

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

Modified
Published 11-05-2021Last modified 28-02-2025

Vulnerability summary

CVE-2021-31181 is a high (CVSS 8.8) Improper Control of Generation of Code vulnerability in microsoft microsoft sharepoint enterprise server 2016. EPSS estimates a 29.01% chance of exploitation in the next 30 days, higher than 98.2% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 11-05-2021)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
29.01%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3reference, metasploit

Timeline

  1. 11-05-2021
    PublishedVulnerability first disclosed.
  2. 28-02-2025
    Last modifiedVulnerability information updated.

Description

Microsoft SharePoint Remote Code Execution Vulnerability

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

29.01%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

No change 0.00 pp

From 29.01% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (packetstorm.news)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • MetasploitMetasploitremoteVerified

    Microsoft SharePoint Unsafe Control and ViewState RCE

    exploit/windows/http/sharepoint_unsafe_control

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Microsoft6 products

1 vendor · 6 products

References

4 links