GHSA-6h5x-7c5m-7cr7

Suggest an improvement
Source
https://github.com/advisories/GHSA-6h5x-7c5m-7cr7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6h5x-7c5m-7cr7/GHSA-6h5x-7c5m-7cr7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6h5x-7c5m-7cr7
Aliases
Published
2022-05-13T00:01:12Z
Modified
2023-11-08T04:07:50.588673Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
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."

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

Affected packages

npm / eventsource

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1

Ecosystem specific

{
    "affected_functions": [
        "(eventsource)"
    ]
}

npm / eventsource

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.2

Ecosystem specific

{
    "affected_functions": [
        "(eventsource)"
    ]
}