CVE-2023-41890
C# vulnerability analysis and mitigation

Overview

Sustainsys.Saml2 library, which adds SAML2P support to ASP.NET web sites allowing them to act as SAML2 Service Providers, contained a vulnerability related to insufficient validation of Identity Provider issuers. The vulnerability was discovered in versions prior to 1.0.3 and 2.9.2, and was disclosed on September 19, 2023. The issue affects all versions of the library before the patched versions (GitHub Advisory).

Technical details

When processing a response, the issuer of the Identity Provider is not sufficiently validated. This vulnerability has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. The vulnerability is classified under CWE-289 (Authentication Bypass by Alternate Name) and CWE-294 (Authentication Bypass by Capture-replay) (NVD).

Impact

The vulnerability could allow a malicious identity provider to craft a Saml2 response that would be processed as if it were issued by another identity provider. Additionally, malicious end users could potentially cause stored state intended for one identity provider to be used when processing the response from another provider. Applications are impacted if they rely on either the issuer of the generated identity and claims, or items in the stored request state (AuthenticationProperties) (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 2.9.2 and 1.0.3. For users unable to upgrade, a workaround is available through the AcsCommandResultCreated notification, which can be used to add the required validation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68924HIGH7.5
  • C#C#
  • UmbracoForms
NoNoJan 16, 2026
CVE-2025-68618HIGH7.5
  • C#C#
  • Magick.NET-Q8-arm64
NoYesDec 30, 2025
CVE-2021-47776MEDIUM6.9
  • C#C#
  • UmbracoCms
NoNoJan 15, 2026
CVE-2025-68950MEDIUM6.2
  • C#C#
  • perl-PerlMagick
NoYesDec 30, 2025
CVE-2025-67291MEDIUM6.1
  • C#C#
  • Piranha
NoNoDec 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management