ADVISORIES

GitHub Advisory Database

GHSA-6h5x-7c5m-7cr7

Exposure of Sensitive Information in eventsource

Critical CVE-2022-1650

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."

Affected packages

EcosystemPackageAffected versions
npmeventsource
All versions before 1.1.1 (fixed in 1.1.1)
npmeventsource
From 2.0.0 before 2.0.2 (fixed in 2.0.2)

References