Skip to content
OpenAdvisories
Critical · 9.3 CVE-2025-54369 EUVD-2025-22555GHSA-m837-g268-mmv7

Node-SAML SAML Authentication Bypass

Published Dec 12, 2025 · Updated May 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
node-saml node-saml < 5.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @node-saml/node-saml < 5.1.0 5.1.0 GHSA-m837-g268-mmv7
npm node-saml <= 3.1.2 — GHSA-m837-g268-mmv7

References