{"id":"GHSA-6h5x-7c5m-7cr7","summary":"Exposure of Sensitive Information in eventsource","details":"When fetching an url with a link to an external site (Redirect), the users Cookies & Autorisation headers are leaked to the third party application. According to the same-origin-policy, the header should be \"sanitized.\"","aliases":["CVE-2022-1650"],"modified":"2023-11-01T05:30:42.448941Z","published":"2022-05-13T00:01:12Z","database_specific":{"nvd_published_at":"2022-05-12T11:15:00Z","cwe_ids":["CWE-200","CWE-212"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-05-25T19:27:47Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1650"},{"type":"WEB","url":"https://github.com/EventSource/eventsource/pull/273#issuecomment-1127624508"},{"type":"WEB","url":"https://github.com/EventSource/eventsource/commit/f9f6416567bff62c1af2f4314be51d9870e94bc2"},{"type":"WEB","url":"https://github.com/eventsource/eventsource/commit/10ee0c4881a6ba2fe65ec18ed195ac35889583c4"},{"type":"PACKAGE","url":"https://github.com/eventsource/eventsource"},{"type":"WEB","url":"https://huntr.dev/bounties/dc9e467f-be5d-4945-867d-1044d27e9b8e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00021.html"}],"affected":[{"package":{"name":"eventsource","ecosystem":"npm","purl":"pkg:npm/eventsource"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json"}},{"package":{"name":"eventsource","ecosystem":"npm","purl":"pkg:npm/eventsource"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}