# CVE-2019-10794: component-flatten vulnerable to Prototype Pollution

- Severity: Medium 6.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-02)
- Published: 2020-02-18T15:32:54.000Z
- Modified: 2026-06-17T02:11:41.183Z
- Also known as: GHSA-g6r3-hhg9-qf58
- Weaknesses: CWE-74
- Assigned by: snyk

## Description

All versions of component-flatten are vulnerable to Prototype Pollution. The a function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

(As written by CVE List.)

## Affected

- Snyk component-flatten: All versions
- component-flatten (npm): up to 1.0.1
- component-flatten_project component-flatten: no versions given

## Every score

- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-COMPONENTFLATTEN-548907> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10794> (advisory)
- <https://github.com/componentjs/flatten.js> (package)

## Sources

- CVE List: [CVE-2019-10794](https://www.cve.org/CVERecord?id=CVE-2019-10794), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-g6r3-hhg9-qf58](https://github.com/advisories/GHSA-g6r3-hhg9-qf58), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-10794](https://nvd.nist.gov/vuln/detail/CVE-2019-10794), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10794 · Whole record: https://cve.day/CVE-2019-10794.json · Rebuilt by cve.day 2026-11-25T22:57:49.466Z
