{"id":"CVE-2022-39300","aliases":["GHSA-5p8w-2mvw-38pv"],"url":"https://o3.security/vulnerability/CVE-2022-39300","summary":"Signature bypass via multiple root elements in node-SAML","details":"node SAML is a SAML 2.0 library based on the SAML implementation of passport-saml. A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered. Users should upgrade to node-saml version 4.0.0-beta5 or newer. Disabling SAML authentication may be done as a workaround.","published":"2022-10-13T00:00:00Z","modified":"2026-07-15T01:49:04.806862203Z","cvss":{"score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"node-saml","fixedVersion":"4.0.0-beta.5"}],"fix":{"url":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe","label":"node-saml/node-saml@c1f275c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39300.json"},{"type":"ADVISORY","url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-5p8w-2mvw-38pv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39300"},{"type":"FIX","url":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:04.806862203Z"}}