Is System.Text.Encodings.Web 4.0 vulnerable?
NuGet · 2 releases from 4.0.0 to 4.0.1 · latest System.Text.Encodings.Web is 11.0.0 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. System.Text.Encodings.Web 4.0.1, the last 4.0 release, is affected by 1 known security advisory (1 critical), including CVE-2021-26701. 4 more affect earlier 4.0.x releases. Upgrade to 4.5.1 or later to fix all of them.
dotnet add package System.Text.Encodings.Web --version 4.5.1Is your project on an affected System.Text.Encodings.Web?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting System.Text.Encodings.Web 4.0.1
.NET Core Remote Code Execution Vulnerability
- Affected
- >=4.0.0 <4.5.1 · >=4.6.0 <4.7.2 · >=5.0.0 <5.0.1
- Fixed in
- 4.5.1, 4.7.2, 5.0.1
Fixed within 4.0.x, affecting earlier releases
Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc and Microsoft.AspNetCore.Mvc.Core
- Affected
- >=4.0.0 <4.0.1 · >=4.3.0 <4.3.1
- Fixed in
- 4.0.1, 4.3.1
ASP.NET Core fails to properly validate web requests
- Affected
- >=4.0.0 <4.0.1 · >=4.3.0 <4.3.1
- Fixed in
- 4.0.1, 4.3.1
Moderate severity vulnerability that affects Microsoft.AspNetCore.Mvc
- Affected
- >=4.0.0 <4.0.1 · >=4.3.0 <4.3.1
- Fixed in
- 4.0.1, 4.3.1
High severity vulnerability that affects Microsoft.AspNetCore.Mvc
- Affected
- >=4.0.0 <4.0.1 · >=4.3.0 <4.3.1
- Fixed in
- 4.0.1, 4.3.1
Every System.Text.Encodings.Web 4.0.x release
Affected: 4.0.0 to 4.0.1. Latest System.Text.Encodings.Web: 11.0.0.
| Version | Known advisories |
|---|---|
| System.Text.Encodings.Web 4.0.1 | CVE-2021-26701 |
| System.Text.Encodings.Web 4.0.0 | CVE-2021-26701, CVE-2017-0248, CVE-2017-0247, CVE-2017-0256, CVE-2017-0249 |
Which of your client projects are still on System.Text.Encodings.Web 4.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact System.Text.Encodings.Web version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other System.Text.Encodings.Web versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.