Critical, CVSS 9.3npmAmendedPublished
Exposure of Sensitive Information in eventsource
CVE-2022-1650 · GHSA-6h5x-7c5m-7cr7
- Affected
- npm eventsource < 1.1.1; >= 2.0.0, < 2.0.2
- Fixed in
- 2.0.21.1.1· Vendor fix available
- Issue
- 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."
Recommended action: Upgrade to 2.0.2 or 1.1.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.