Node-SAML Contains SAML Signature Verification Vulnerability

CVE Details

Basic Information

Title Node-SAML Contains SAML Signature Verification Vulnerability
Type cve
Published 2025-07-28T19:47:46.584Z
Modified 2025-07-28T20:22:19.865Z

Product Information

Vendor node-saml
Product node-saml
Version < 5.1.0

CVSS Information

Base Score 10.0 (CRITICAL)
Attack Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Affected Products

  • node-saml node-saml < 5.1.0

Additional Information

CWE List CWE-287, CWE-347
Source GitHub_M

Description

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. 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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.