cve.bz

CVE-2025-54419

10.0 criticalEPSS 0.4%

Critical (10.0). EPSS 0.4% chance of exploitation in the next 30 days. Fixed in @node-saml/node-saml 5.1.0.

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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-11-01)
CWEs
CWE-287, CWE-347
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4mxg-3p6v-xgq3npm@node-saml/node-saml<5.1.05.1.0
GHSA-4mxg-3p6v-xgq3npmpassport-saml<=3.2.4no fix published
GHSA-4mxg-3p6v-xgq3npm@node-saml/passport-saml<5.1.05.1.0

References

Check your stackJSON