{"id":"CVE-2025-54369","aliases":["CVE-2025-54369","GHSA-m837-g268-mmv7"],"related":[],"kind":"vulnerability","state":"published","title":"Node-SAML SAML Authentication Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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 upgraded xml-crypto to v6.1.2 and made sure to process the SAML assertions from only verified/authenticated contents. This will prevent future variants from coming up.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Node-SAML es una biblioteca SAML no dependiente de ningún framework que se ejecuta en Node. En las versiones 5.0.1 e inferiores, Node-SAML carga la aserción del documento de respuesta original (sin firmar). Esto es diferente de las partes que se verifican al comprobar la firma. Esto permite a un atacante modificar los detalles de autenticación dentro de una aserción SAML válida. Por ejemplo, en un ataque es posible eliminar cualquier carácter del nombre de usuario de la aserción SAML. Este problema está solucionado en la versión 5.1.0.","source":"nvd"}],"published":"2025-07-24T23:15:26.790Z","modified":"2026-11-07T18:10:00.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"CRITICAL"}],"cwes":["CWE-87","CWE-287","CWE-347"],"affected":[{"ranges":[{"version":"< 5.1.0","status":"affected"}],"vendor":"node-saml","product":"node-saml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.1.2"}],"ecosystem":"npm","package":"node-saml","purl":"pkg:npm/node-saml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.1.0"}],"ecosystem":"npm","package":"@node-saml/node-saml","purl":"pkg:npm/%40node-saml/node-saml","source":"ghsa"}],"references":[{"url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-m837-g268-mmv7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/node-saml/node-saml/releases/tag/v5.1.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54369","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/node-saml/node-saml","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-15T14:55:48.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54369","url":"https://www.cve.org/CVERecord?id=CVE-2025-54369","licence":"CVE Terms of Use","modified":"2026-05-07T20:46:21.508Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m837-g268-mmv7","url":"https://github.com/advisories/GHSA-m837-g268-mmv7","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:57.907Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54369","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54369","licence":"Public domain","modified":"2026-11-07T18:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:01.648Z","epss":{"score":0.00438,"percentile":0.39824,"date":"2026-12-01T12:00:22.000Z"}}