CVE-2021-23758 is an insecure-deserialization vulnerability in Ajax.NET Professional (AjaxPro), an older open-source .NET AJAX library: because the JSON deserializer could instantiate arbitrary .NET classes from attacker-controlled input with no type restriction, a remote attacker could achieve code execution on any application still using it, and CISA added it to the KEV catalog in 2026 explicitly because the project is end-of-life.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
82.6%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2021-23758 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Ajax.NET Professional (AjaxPro) / ajaxpro.2 package | cpe:2.3:a:michaelschwarz:ajax.net_professional:*:*:*:*:*:.net:*:* | Ajax.NET Professional before 21.10.30.1; all published NuGet releases of ajaxpro.2 (2.9.17.2, 6.10.6.2 — no fixed version recorded) |
What does this mean for affected devices?
CVE-2021-23758 is a deserialization-of-untrusted-data vulnerability (CWE-502) affecting Ajax.NET Professional (also distributed as the ajaxpro.2 NuGet package), an open-source library for calling .NET server methods from client-side JavaScript that was popular in mid-2000s/2010s ASP.NET applications. NVD's description states: "All versions of package ajaxpro.2 are vulnerable to Deserialization of Untrusted Data due to the possibility of deserialization of arbitrary .NET classes, which can be abused to gain remote code execution" (NVD).
NVD's own analysis gives CVSS v3.1 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H — network-reachable, low complexity, no privileges or user interaction, full compromise. The original reporter (Snyk) submitted a lower CNA Secondary score of 8.1; NVD's own Primary v3.1 score is the higher 9.8 (NVD).
The upstream michaelschwarz/Ajax.NET-Professional repository's fix, commit b0e63be5, adds configurable type allow-/deny-lists to the JSON deserializer (AjaxSettingsSectionHandler.cs and JavaScriptDeserializer.cs): once a jsonDeserializationCustomTypes whitelist is configured, only explicitly allowed types can be instantiated during deserialization, and attempting to instantiate a disallowed type throws a SecurityException. This is the mechanism fixed in Ajax.NET Professional 21.10.30.1; the NVD CPE match also lists the separate ajaxpro.2_project:ajaxpro.2 package as vulnerable with no fixed version recorded (Ajax.NET Professional fix commit b0e63be5).
CISA added CVE-2021-23758 to the Known Exploited Vulnerabilities (KEV) catalog on 2026-08-26, with a required-action due date of 2026-09-09 and a note that "the impacted product(s) could be end-of-life (EoL) and/or end-of-service (EoS)" — CISA's standard language advising affected organizations to discontinue use rather than expect an ongoing vendor patch stream. The catalog does not record known ransomware-campaign use (CISA KEV).
As of 2026-10-28, FIRST scores the probability of exploitation at 0.8258 (99.663rd percentile), a very high figure consistent with years of opportunistic internet-wide scanning for this library's deserialization endpoint rather than a single targeted campaign (FIRST EPSS).
Because the AjaxPro project is effectively unmaintained, organizations that find it in a legacy ASP.NET application should treat remediation as removal/replacement rather than patching: either upgrade to a build with the type-restriction fix and configure a strict allow-list, or discontinue the library entirely in favor of a maintained alternative.
Evidence
- Ajax.NET Professional (ajaxpro.2) deserializes untrusted JSON input without restricting which .NET classes can be instantiated, allowing remote code execution. — NVD
- NVD Primary CVSS v3.1 base score is 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; the original reporter's CNA Secondary score was 8.1. — NVD
- Fix commit b0e63be5 adds a configurable allow-/deny-list for deserialized types, blocking instantiation of disallowed types; fixed in Ajax.NET Professional 21.10.30.1. — Ajax.NET Professional fix commit b0e63be5
- Added to the CISA Known Exploited Vulnerabilities catalog on 2026-08-26, required-action due date 2026-09-09, flagged as possibly end-of-life/end-of-service. — CISA KEV
- EPSS score is 0.8258 (99.663rd percentile) as of 2026-10-28. — FIRST EPSS
- The ajaxpro.2 NuGet package has published releases 2.9.17.2 and 6.10.6.2, with no fixed version listed. — NuGet Gallery

Related advisories
Sources
Frequently asked questions
What is CVE-2021-23758?
CVE-2021-23758 is an insecure-deserialization vulnerability in Ajax.NET Professional (AjaxPro), an older open-source .NET AJAX library: because the JSON deserializer could instantiate arbitrary .NET classes from attacker-controlled input with no type restriction, a remote attacker could achieve code execution on any application still using it, and CISA added it to the KEV catalog in 2026 explicitly because the project is end-of-life.
How severe is CVE-2021-23758?
NVD scores CVE-2021-23758 9.8 out of 10 on the CVSS scale — a critical severity rating.
Is CVE-2021-23758 being actively exploited?
Yes — CVE-2021-23758 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning CISA has confirmed evidence of active exploitation in the wild.
What is affected by CVE-2021-23758?
CVE-2021-23758 affects Ajax.NET Professional (AjaxPro) / ajaxpro.2 package.
Where does this CVE-2021-23758 information come from?
This advisory is based on NVD, CISA KEV, Ajax.NET Professional fix commit b0e63be5, FIRST EPSS, and NuGet Gallery, cited in full in the Sources section above.
Questions about this page?