# GHSA-mh6f-8j2x-4483: Critical severity vulnerability that affects event-stream and flatmap-stream

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2018-11-26T23:58:21.000Z
- Modified: 2021-09-15T20:08:26.000Z
- Weaknesses: CWE-506

## Description

The NPM package `flatmap-stream` is considered malicious.  A malicious actor added this package as a dependency to the NPM `event-stream` package in version `3.3.6`.  Users of `event-stream` are encouraged to downgrade to the last non-malicious version, `3.3.4`, or upgrade to the latest  4.x version. 

Users of `flatmap-stream` are encouraged to remove the dependency entirely.

(As written by GitHub Advisory Database.)

## Affected

- event-stream (npm): from 3.3.6 before 4.0.0
- flatmap-stream (npm): all versions

## References

- <https://github.com/dominictarr/event-stream/issues/116> (web)
- <https://github.com/advisories/GHSA-mh6f-8j2x-4483> (advisory)
- <https://github.com/dominictarr/event-stream> (package)

## Sources

- GitHub Advisory Database: [GHSA-mh6f-8j2x-4483](https://github.com/advisories/GHSA-mh6f-8j2x-4483), CC-BY-4.0, modified 2021-09-15

---

Page: https://cve.day/GHSA-mh6f-8j2x-4483 · Whole record: https://cve.day/GHSA-mh6f-8j2x-4483.json · Rebuilt by cve.day 2026-11-25T22:56:45.952Z
