{"id":"GHSA-8gqj-226h-gm8r","summary":"Passport-wsfed-saml2 allows SAML Authentication Bypass via Attribute Smuggling","details":"### Overview\nThis vulnerability allows an attacker to impersonate any user during SAML authentication by tampering with a valid SAML response. This can be done by adding attributes to the response.\n\n### Am I Affected?\nYou are affected by this SAML Attribute Smuggling vulnerability if you are using `passport-wsfed-saml2` version 4.6.3 or below, specifically under the following conditions:\n1. The service provider is using `passport-wsfed-saml2`, \n2. A valid SAML Response signed by the Identity Provider can be obtained\n\n### Fix\nUpgrade to v4.6.4 or greater.","aliases":["CVE-2025-46573"],"modified":"2025-05-07T15:34:30Z","published":"2025-05-06T21:18:49Z","database_specific":{"github_reviewed_at":"2025-05-06T21:18:49Z","github_reviewed":true,"nvd_published_at":"2025-05-06T21:16:20Z","severity":"HIGH","cwe_ids":["CWE-287","CWE-290"]},"references":[{"type":"WEB","url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46573"},{"type":"WEB","url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181"},{"type":"PACKAGE","url":"https://github.com/auth0/passport-wsfed-saml2"}],"affected":[{"package":{"name":"passport-wsfed-saml2","ecosystem":"npm","purl":"pkg:npm/passport-wsfed-saml2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.5"},{"fixed":"4.6.4"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 4.6.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-8gqj-226h-gm8r/GHSA-8gqj-226h-gm8r.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}