{"api_version":"1","generated_at":"2026-07-24T01:40:30+00:00","cve":"CVE-2022-39300","urls":{"html":"https://cve.report/CVE-2022-39300","api":"https://cve.report/api/cve/CVE-2022-39300.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39300","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39300"},"summary":{"title":"CVE-2022-39300","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-13 22:15:00","updated_at":"2022-10-14 13:16:00"},"problem_types":["CWE-347"],"metrics":[],"references":[{"url":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe","name":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-5p8w-2mvw-38pv · node-saml/node-saml@c1f275c · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-5p8w-2mvw-38pv","name":"https://github.com/node-saml/node-saml/security/advisories/GHSA-5p8w-2mvw-38pv","refsource":"CONFIRM","tags":[],"title":"Signature bypass via multiple root elements · Advisory · node-saml/node-saml · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39300","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39300","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"4.0.0","cpe7":"beta0","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"4.0.0","cpe7":"beta1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"4.0.0","cpe7":"beta2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"4.0.0","cpe7":"beta3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39300","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_saml_project","cpe5":"node_saml","cpe6":"4.0.0","cpe7":"beta4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39300","STATE":"PUBLIC","TITLE":"Signature bypass via multiple root elements in node-SAML"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"node-saml","version":{"version_data":[{"version_value":"< 4.0.0-beta.5"}]}}]},"vendor_name":"node-saml"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-347: Improper Verification of Cryptographic Signature"}]}]},"references":{"reference_data":[{"name":"https://github.com/node-saml/node-saml/security/advisories/GHSA-5p8w-2mvw-38pv","refsource":"CONFIRM","url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-5p8w-2mvw-38pv"},{"name":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe","refsource":"MISC","url":"https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe"}]},"source":{"advisory":"GHSA-5p8w-2mvw-38pv","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-13 22:15:00","lastModifiedDate":"2022-10-14 13:16:00","problem_types":["CWE-347"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:4.0.0:beta1:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:4.0.0:beta2:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:4.0.0:beta0:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:4.0.0:beta3:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:4.0.0:beta4:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:node_saml_project:node_saml:*:*:*:*:*:node.js:*:*","versionEndExcluding":"4.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}