GHSA-mfcp-34xw-p57x
MEDIUM 6.8CVSS 3.1Authentication Bypass in saml2-js
Versions of saml2-js prior to 2.0.5 are vulnerable to an Authentication Bypass. The package fails to enforce the assertion conditions for encrypted assertions, which may allow an attacker to reuse encrypted assertion tokens indefinitely.
Recommendation
Upgrade to version 2.0.5 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | saml2-js | < 2.0.5 | 2.0.5 |
References
- https://github.com/Clever/saml2/pull/190 · WEB
- https://github.com/Clever/saml2/commit/ae0da4d0a0ea682a737be481e3bd78798be405c0 · WEB
- https://github.com/Clever/saml2 · PACKAGE
- https://snyk.io/vuln/SNYK-JS-SAML2JS-474637 · WEB
- https://www.npmjs.com/advisories/1222 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)