Vulnerability · Published Jul 28, 2025 · Assigned by GitHub_M

CVE-2025-54419Node-SAML Contains SAML Signature Verification Vulnerability

Critical 10.0

In plain English

A critical-severity improper authentication in node-saml from node-saml. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.4%top 67.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A SAML library not dependent on any frameworks that runs in Node. In version 5.0.1, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). This is fixed in version 5.1.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@node-saml/node-saml5.1.0GHSA-4mxg-3p6v-xgq3
npm@node-saml/passport-saml5.1.0GHSA-4mxg-3p6v-xgq3
npmpassport-samlno fix listedGHSA-4mxg-3p6v-xgq3

Affected products (as reported)

VendorProductVersions
node-saml node-saml = 5.0.1

Weakness: CWE-287, CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

References