CVE-2022-23505
HIGH 7.5CVSS 3.1Authentication Bypass for passport-wsfed-saml2
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.
- Published
- 13 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-ppjq-qxhx-m25f
- Sources
- NVDJSONOSV GHSA-ppjq-qxhx-m25fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | auth0 | passport-wsfed-saml2cpe:2.3:a:auth0:passport-wsfed-saml2:*:*:*:*:*:*:*:* |
<= 4.6.2 | |
| OSV | npm | passport-wsfed-saml2 | < 4.6.3 | 4.6.3 |
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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Dec 2022)