{"id":"CVE-2025-54419","aliases":["GHSA-4mxg-3p6v-xgq3"],"url":"https://o3.security/vulnerability/CVE-2025-54419","summary":"Node-SAML Contains SAML Signature Verification Vulnerability","details":"Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature.\n\nThis 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.\n\nTo conduct the attack an attacker would need a validly signed document from the identity provider (IdP).\n\nIn fixing this we made sure to process the SAML assertions from only verified/authenticated contents. This will prevent future variants from coming up. \n\nNote: this is distinct from the previous xml-crypto CVEs.","published":"2025-07-28T19:47:46.584Z","modified":"2026-08-12T03:51:44.967263287Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@node-saml/node-saml","fixedVersion":"5.1.0"},{"ecosystem":"npm","name":"passport-saml","fixedVersion":null},{"ecosystem":"npm","name":"@node-saml/passport-saml","fixedVersion":"5.1.0"}],"fix":{"url":"https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10","label":"node-saml/node-saml@31ead94"},"references":[{"type":"WEB","url":"https://github.com/node-saml/node-saml/releases/tag/v5.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54419.json"},{"type":"ADVISORY","url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-4mxg-3p6v-xgq3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54419"},{"type":"FIX","url":"https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10"},{"type":"PACKAGE","url":"https://github.com/node-saml/node-saml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:44.967263287Z"}}