CVE-2021-31181: Microsoft SharePoint WebPart Interpretation Conflict Remote Code Execution Vulnerability

Published May 11, 2021
·
Updated

Microsoft SharePoint Remote Code Execution Vulnerability

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft SharePoint. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of server-side controls in WebParts. By specifying a control using a non-canonical string, an unsafe server-side control can be instantiated. An attacker can leverage this vulnerability to execute code in the context of the service account.

Affected Software

7 affected componentsFixes available
Microsoft SharePoint Server 2019
Microsoft SharePoint Foundation 2013
Microsoft SharePoint
Microsoft SharePoint Enterprise Server=2016
Microsoft SharePoint Foundation=2013-sp1
Microsoft SharePoint Server=2019
Microsoft SharePoint Enterprise Server 2016

Event History

May 11, 2021
CVE Published
via Microsoft·07:00 AM
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverity
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 22, 2025
Advisory Published
via ZDI·03:03 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-31181?

CVE-2021-31181 is a vulnerability in Microsoft SharePoint that allows remote attackers to execute arbitrary code.

2

How severe is the CVE-2021-31181 vulnerability?

The severity of CVE-2021-31181 is rated as high, with a severity value of 8.8.

3

How can I exploit CVE-2021-31181?

To exploit CVE-2021-31181, remote attackers would need to authenticate and then use a specific flaw in the handling of server-side controls in WebParts.

4

Which versions of Microsoft SharePoint are affected by CVE-2021-31181?

The following versions of Microsoft SharePoint are affected: SharePoint Foundation 2013 SP1, SharePoint Enterprise Server 2016, and SharePoint Server 2019.

5

How can I fix CVE-2021-31181?

To fix CVE-2021-31181, apply the relevant patches provided by Microsoft for SharePoint Foundation 2013, SharePoint Enterprise Server 2016, and SharePoint Server 2019.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203