Skip to content

CVE-2025-54369 Node-SAML SAML Authentication Bypass

CriticalCVSS 9.3 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, 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. This issue is fixed in version 5.1.0.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
node-saml @node-saml/node-saml(npm) < 5.1.0; <= 5.0.1 5.1.0 Fixed
npm node-saml(npm) <= 3.1.2 after 3.1.2 Fixed
node-saml @node-saml/node-saml = < 5.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm node-saml(npm) <= 3.1.2 No fix listed
node-saml @node-saml/node-saml(npm) <= 5.0.1 No fix listed
node-saml @node-saml/node-saml = < 5.1.0 No fix listed
node-saml @node-saml/node-saml(npm) < 5.1.0 5.1.0

References