PoC Monitor
← All CVEs
CVE-2025-54419published 28 Jul 2025 19:47 UTCData: JSON · API

Node-SAML

Node-SAML Contains SAML Signature Verification Vulnerability

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by CNA · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

node-saml node-saml
  • = 5.0.1
@node-saml/node-saml (npm)
  • < 5.1.0

Fixed in 5.1.0

from GitHub Security Advisory GHSA-4mxg-3p6v-xgq3

passport-saml (npm)
  • <= 3.2.4

from GitHub Security Advisory GHSA-4mxg-3p6v-xgq3

@node-saml/passport-saml (npm)
  • < 5.1.0

Fixed in 5.1.0

from GitHub Security Advisory GHSA-4mxg-3p6v-xgq3

Mitigation

Upgrade @node-saml/node-saml to 5.1.0 or later.

Upgrade @node-saml/passport-saml to 5.1.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.