Privilege Escalation Affecting microsoft.aspnetcore.mvc.formatters.json Open this link in a new tab package, versions [,1.0.1)

  • Attack Complexity


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    13 Sep 2016

  • disclosed

    13 Sep 2016

  • credit


Introduced: 13 Sep 2016

CWE-269 Open this link in a new tab

How to fix?

Upgrade Microsoft.AspNetCore.Mvc.Formatters.Json to version 1.0.1 or higher.


Microsoft.AspNetCore.Mvc.Formatters.Json contains formatters for JSON input and output and for JSON PATCH input using Json.NET.

Affected versions of this package are vulnerable to Privilege Escalation. View Components could receive incorrect information, including the details of the current authenticated user. If a View Component depends on the vulnerable code and makes decisions based on the current user, then the it could make incorrect decisions that result in elevation of privilege.