Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames
Versions of samlify prior to 2.4.0-rc5 are vulnerable to Authentication Bypass. The package fails to prevent XML Signature Wrapping, allowing tokens to be reused with different usernames. A remote attacker can modify SAML content for a SAML service provider without invalidating the cryptographic signature, which may allow attackers to bypass primary authentication for the affected SAML service provider.
Recommendation
Upgrade to version 2.4.0-rc5 or later
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | samlify | < 2.4.0-rc5 | 2.4.0-rc5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000452
- https://github.com/tngan/samlify/commit/d382bbc7c6b8ea889839ae1f178730c25b09eb42
- https://hackerone.com/reports/356284
- https://github.com/tngan/samlify
- https://github.com/tngan/samlify/compare/v2.4.0-rc4...v2.4.0-rc5
- https://github.com/tngan/samlify/releases/tag/v2.4.0-rc5
- https://www.whitehats.nl/blog/xml-signature-wrapping-samlify
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-347, CWE-91- Platform
- npm
- Package
samlify- Disclosed
- 04.01.2018
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8jjf-w7j6-323c - CC BY 4.0
Vulnerability history: samlify
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 01.2018 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 1
-
Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.