Improper Verification of Cryptographic Signature Affecting @node-saml/node-saml package, versions <5.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NODESAMLNODESAML-10946570
  • published25 Jul 2025
  • disclosed25 Jul 2025
  • creditahacker1-securesaml

Introduced: 25 Jul 2025

CVE-2025-54369  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade @node-saml/node-saml to version 5.1.0 or higher.

Overview

@node-saml/node-saml is a SAML 2.0 implementation for Node.js

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to loading assertions from unsigned response documents. An attacker can alter authentication details, such as modifying the username in a SAML assertion, by providing a validly signed document from the identity provider (IdP).

CVSS Base Scores

version 4.0
version 3.1