Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. passport-wsfed-saml2
  4. ›
  5. CVE-2022-23505

CVE-2022-23505: Authentication Bypass for WSFed

December 13, 2022 (updated July 14, 2023)

Passport-wsfed-saml2 is a ws-federation protocol and SAML2 tokens authentication provider for Passport. In versions prior to 4.6.3, a remote attacker may be able to bypass WSFed authentication on a website using passport-wsfed-saml2. A successful attack requires that the attacker is in possession of an arbitrary IDP signed assertion. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered. This issue is patched in version 4.6.3. Use of SAML2 authentication instead of WSFed is a workaround.

References

  • github.com/advisories/GHSA-ppjq-qxhx-m25f
  • github.com/auth0/passport-wsfed-saml2/pull/179
  • github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-ppjq-qxhx-m25f
  • nvd.nist.gov/vuln/detail/CVE-2022-23505

Code Behaviors & Features

Detect and mitigate CVE-2022-23505 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.6.2

Fixed versions

  • 4.6.3

Solution

Upgrade to version 4.6.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

npm/passport-wsfed-saml2/CVE-2022-23505.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.