{"id":"GHSA-gwg9-rgvj-4h5j","summary":"Code Injection in morgan","details":"Verisons of `morgan` before 1.9.1 are vulnerable to code injection when user input is allowed into the filter or combined with a prototype pollution attack.\n\n\n## Recommendation\n\nUpdate to version 1.9.1 or later.","aliases":["CVE-2019-5413"],"modified":"2023-11-08T04:01:35.376312Z","published":"2019-03-25T18:03:23Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:38:10Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5413"},{"type":"WEB","url":"https://hackerone.com/reports/390881"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gwg9-rgvj-4h5j"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/473.json"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.netbeans.apache.org%3E"},{"type":"WEB","url":"https://www.npmjs.com/advisories/736"}],"affected":[{"package":{"name":"morgan","ecosystem":"npm","purl":"pkg:npm/morgan"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/03/GHSA-gwg9-rgvj-4h5j/GHSA-gwg9-rgvj-4h5j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}