# CVE-2022-23505: Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-12-13T07:04:23.487Z
- Modified: 2026-06-17T04:30:15.380Z
- Also known as: GHSA-ppjq-qxhx-m25f
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- auth0 passport-wsfed-saml2: < 4.6.3; up to 4.6.2
- passport-wsfed-saml2 (npm): before 4.6.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-ppjq-qxhx-m25f> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23505> (advisory)
- <https://github.com/auth0/passport-wsfed-saml2/pull/179> (web)
- <https://github.com/auth0/passport-wsfed-saml2> (package)

## Sources

- CVE List: [CVE-2022-23505](https://www.cve.org/CVERecord?id=CVE-2022-23505), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-ppjq-qxhx-m25f](https://github.com/advisories/GHSA-ppjq-qxhx-m25f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-23505](https://nvd.nist.gov/vuln/detail/CVE-2022-23505), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23505 · Whole record: https://cve.day/CVE-2022-23505.json · Rebuilt by cve.day 2026-11-25T22:58:17.408Z
