Microsoft SharePoint Server-Side Include (SSI) and ViewState RCE

Anandhu K A
Published on
16 Jun 2021

This vulnerability occurs when the software fails to check the source markup of an application package, which leads to Remote Code Execution vulnerability in Microsoft SharePoint. Through page creation privileges permission in SharePoint, an unauthenticated user could exploit this bug by the means of leaking an arbitrary file, mainly the application’s web.config file, which could be utilized to perform RCE via .NET deserialization.


The attacker will be able to execute malicious code on the target server or client with high privileges.

Affected versions:

  • icrosoft SharePoint Enterprise Server 2016
  • Microsoft SharePoint Server 2019
  • Microsoft SharePoint Foundation 2013 Service Pack 1

Mitigation / Precaution

In order to patch this vulnerability, we suggest you to test and apply the patched versions (

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu K A
Anandhu K A
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment