{"id":"CVE-2019-10794","aliases":["EUVD-2022-3906","GHSA-g6r3-hhg9-qf58"],"status":"published","title":"component-flatten vulnerable to Prototype Pollution","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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00726,"percentile":0.54389,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74"],"published":"2020-02-18T15:32:54Z","modified":"2026-06-17T02:11:41Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"component-flatten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"component-flatten","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.1"}]}]}],"products":[{"vendor":"component-flatten_project","product":"component-flatten"},{"vendor":"snyk","product":"component-flatten"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-COMPONENTFLATTEN-548907","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10794","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g6r3-hhg9-qf58"},{"url":"https://github.com/componentjs/flatten.js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-10794","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.","status":"published","published":"2020-02-18T15:32:54Z","modified":"2024-08-04T22:32:01.927Z","updated_at":"2026-11-02T14:20:19.056416Z"}],"euvd":[{"id":"EUVD-2022-3906","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.","status":"published","published":"2020-02-18T15:32:54Z","modified":"2024-08-04T22:32:01Z","updated_at":"2026-11-03T02:40:51.198112Z"}],"ghsa":[{"id":"GHSA-g6r3-hhg9-qf58","title":"component-flatten vulnerable to Prototype Pollution","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.","status":"published","published":"2022-05-24T17:09:13Z","modified":"2023-09-26T20:09:20Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:37:06.913882Z"}],"nvd":[{"id":"CVE-2019-10794","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.","status":"published","published":"2020-02-18T16:15:10.39Z","modified":"2026-06-17T02:11:41.183Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:05:43.875329Z"}],"osv":[{"id":"GHSA-g6r3-hhg9-qf58","title":"component-flatten vulnerable to Prototype Pollution","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.","status":"published","published":"2022-05-24T17:09:13Z","modified":"2023-11-08T04:00:57.273094Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
