CVE-2022-23505
JavaScript vulnerability analysis and mitigation

Overview

Passport-wsfed-saml2, a ws-federation protocol and SAML2 tokens authentication provider for Passport, was found to contain a significant authentication bypass vulnerability in versions prior to 4.6.3. The vulnerability was assigned CVE-2022-23505 and was disclosed on December 13, 2022. The affected component is the WSFed authentication mechanism within the passport-wsfed-saml2 library (GitHub Advisory).

Technical details

The vulnerability is classified as an authentication bypass issue (CWE-287) that allows remote attackers to circumvent WSFed authentication when they possess an arbitrary IDP signed assertion. The severity of this vulnerability has been rated as HIGH with a CVSS v3.1 base score of 7.5 (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), indicating high impact on confidentiality but no impact on integrity or availability (NVD).

Impact

The vulnerability could allow remote attackers to bypass authentication mechanisms on websites implementing the affected library. In some cases, depending on the Identity Provider (IDP) configuration, fully unauthenticated attacks might be possible if an attacker can trigger the generation of a signed message (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to version 4.6.3 or later to address this vulnerability. As a workaround, organizations can switch to using SAML2 authentication instead of WSFed, as the SAML2 protocol is not affected by this vulnerability. The fix implementation does not impact end users (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 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