{"id":"CVE-2019-5413","published":"2019-03-17T19:36:35Z","modified":"2026-11-02T17:49:40Z","title":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1","vendor":null,"product":null,"tier":"tail","description":{"text":"An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03399,"percentile":0.89135,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://hackerone.com/reports/390881","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":17.83},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":2,"earliest":"2025-12-21","earliestUrl":"https://github.com/crstaicu/CVE-2019-5413","repos":[{"name":"crstaicu/CVE-2019-5413","url":"https://github.com/crstaicu/CVE-2019-5413","stars":0,"created":"2025-12-21"}]},"first":{"date":"2025-12-21","source":"PoC-in-GitHub","url":"https://github.com/crstaicu/CVE-2019-5413"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"morgan","versions":["< 1.9.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-02T17:49:26.998689Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"morgan","vulnerableRanges":["<1.9.1"],"patched":["1.9.1"],"from":["GHSA-gwg9-rgvj-4h5j"],"provenance":"source"}],"summary":{"text":"The flaw is a code injection issue in the morgan npm package, an HTTP request logging middleware, affecting versions before 1.9.1 and stemming from improper handling of the format parameter. An attacker who can supply or influence the format parameter can inject arbitrary commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:56Z"},"euvd":{"id":"EUVD-2019-0382","exploited":false,"provenance":"source"}}