{"id":"CVE-2019-5413","aliases":["CLSA-2026-1773620211","CLSA-2026-1784682761","EUVD-2019-0382","GHSA-gwg9-rgvj-4h5j","ROOT-APP-NPM-CVE-2019-5413"],"status":"published","title":"Code Injection in morgan","description":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan \u003c 1.9.1.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03399,"percentile":0.8893,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-77","CWE-94"],"published":"2019-03-17T19:36:35Z","modified":"2026-11-04T02:30:26Z","exploits":[{"source":"pocgithub","id":"forse01/CVE-2019-5413-NetBeans","title":"forse01/CVE-2019-5413-NetBeans","date":"2021-02-04","url":"https://github.com/forse01/CVE-2019-5413-NetBeans"},{"source":"pocgithub","id":"forse01/CVE-2019-5413-NetBeans-NoJson","title":"forse01/CVE-2019-5413-NetBeans-NoJson","date":"2021-02-16","url":"https://github.com/forse01/CVE-2019-5413-NetBeans-NoJson"},{"source":"pocgithub","id":"crstaicu/CVE-2019-5413","title":"crstaicu/CVE-2019-5413","date":"2025-12-21","url":"https://github.com/crstaicu/CVE-2019-5413"}],"fixes":[{"ecosystem":"npm","package":"morgan","fixed_in":["1.9.1"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"morgan","fixed_in":["1.5.3-tuxcare.1","1.6.1-tuxcare.2"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"morgan","fixed_in":["1.6.1-aikido.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/morgan","fixed_in":["1.6.1-root.io.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"morgan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"morgan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.3-tuxcare.0"},{"fixed":"1.5.3-tuxcare.1"}]}],"versions":["1.5.3"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"morgan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.1-tuxcare.0"},{"fixed":"1.6.1-tuxcare.2"}]}],"versions":["1.6.1","1.6.1-tuxcare.1"]},{"source":"osv","ecosystem":"npm","package":"morgan","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"morgan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/morgan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-root.io.1"}]}]}],"products":[{"vendor":"morgan_project","product":"morgan"}],"references":[{"url":"https://hackerone.com/reports/390881","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5413","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gwg9-rgvj-4h5j","tags":["advisory"]},{"url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/473.json","tags":["web"]},{"url":"https://www.npmjs.com/advisories/736","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.netbeans.apache.org%3E","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-5413","description":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan \u003c 1.9.1.","status":"published","published":"2019-03-17T19:36:35Z","modified":"2026-11-02T17:49:40.683Z","cwes":["CWE-94"],"updated_at":"2026-11-02T19:02:29.283836Z"}],"euvd":[{"id":"EUVD-2019-0382","description":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan \u003c 1.9.1.","status":"published","published":"2019-03-17T19:36:35Z","modified":"2026-11-02T17:49:40Z","updated_at":"2026-11-03T05:08:39.228431Z"}],"ghsa":[{"id":"GHSA-gwg9-rgvj-4h5j","title":"Code Injection in morgan","description":"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.","status":"published","published":"2019-03-25T18:03:23Z","modified":"2023-09-12T20:50:07Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2019-5413","description":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan \u003c 1.9.1.","status":"published","published":"2019-03-21T16:01:05.39Z","modified":"2026-11-02T18:18:27.407Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94","CWE-77"],"updated_at":"2026-11-02T20:51:29.040079Z"}],"osv":[{"id":"CVE-2019-5413","description":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan \u003c 1.9.1.","status":"published","published":"2019-03-21T16:01:05.39Z","modified":"2026-11-04T02:30:26.379241967Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-04T02:55:01.518827Z"},{"id":"GHSA-gwg9-rgvj-4h5j","title":"Code Injection in morgan","description":"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.","status":"published","published":"2019-03-25T18:03:23Z","modified":"2023-11-08T04:01:35.376312Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"CLSA-2026-1773620211","title":"TuxCare security update for morgan (1 CVE)","description":"TuxCare rebuilt morgan to address 1 CVE. Fixed in 1.5.3-tuxcare.1.","status":"published","published":"2026-08-04T14:52:12Z","modified":"2026-10-15T09:47:47.067199646Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1784682761","title":"TuxCare security update for morgan (1 CVE)","description":"TuxCare rebuilt morgan to address 1 CVE. Fixed in 1.6.1-tuxcare.2.","status":"published","published":"2026-08-04T14:52:46Z","modified":"2026-10-15T09:47:54.223990463Z","updated_at":"2026-11-02T15:43:46.482572Z"},{"id":"ROOT-APP-NPM-CVE-2019-5413","title":"CVE-2019-5413 in morgan - Patched by Root","description":"Root has patched CVE-2019-5413 in the morgan package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-08-06T12:10:46Z","modified":"2026-08-06T13:45:09.54189827Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
