{"id":"GHSA-g6r3-hhg9-qf58","summary":"component-flatten vulnerable to Prototype Pollution","details":"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.","aliases":["CVE-2019-10794"],"modified":"2023-11-08T04:00:57.273094Z","published":"2022-05-24T17:09:13Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-18T23:54:18Z","nvd_published_at":"2020-02-18T16:15:00Z","cwe_ids":["CWE-74"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10794"},{"type":"PACKAGE","url":"https://github.com/componentjs/flatten.js"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-COMPONENTFLATTEN-548907"}],"affected":[{"package":{"name":"component-flatten","ecosystem":"npm","purl":"pkg:npm/component-flatten"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g6r3-hhg9-qf58/GHSA-g6r3-hhg9-qf58.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}