CVE-2019-5413
Code Injection in morgan
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
- Record
CVE-2019-5413- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94, CWE-77
- Updated
- 2026-11-02
CVE List No score
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
- Record
CVE-2019-5413- Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2019-0382 No score
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
- Record
EUVD-2019-0382- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gwg9-rgvj-4h5j
9.8
Code Injection in morgan
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.
Recommendation
Update to version 1.9.1 or later.
- Record
GHSA-gwg9-rgvj-4h5j- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
9.8
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
- Record
CVE-2019-5413- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
OSVGHSA-gwg9-rgvj-4h5j
9.8
Code Injection in morgan
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.
Recommendation
Update to version 1.9.1 or later.
- Record
GHSA-gwg9-rgvj-4h5j- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSVCLSA-2026-1773620211 No score
TuxCare security update for morgan (1 CVE)
TuxCare rebuilt morgan to address 1 CVE. Fixed in 1.5.3-tuxcare.1.
- Record
CLSA-2026-1773620211- Updated
- 2026-11-02
OSVCLSA-2026-1784682761 No score
TuxCare security update for morgan (1 CVE)
TuxCare rebuilt morgan to address 1 CVE. Fixed in 1.6.1-tuxcare.2.
- Record
CLSA-2026-1784682761- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2019-5413 No score
CVE-2019-5413 in morgan - Patched by Root
Root has patched CVE-2019-5413 in the morgan package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2019-5413- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
morgannpm |
before 1.9.1 | 1.9.1 |
morganTuxCare:npm |
1.5.3-tuxcare.0 up to 1.5.3-tuxcare.1, plus listed versions 1.5.3 |
1.5.3-tuxcare.1 |
morganTuxCare:npm |
1.6.1-tuxcare.0 up to 1.6.1-tuxcare.2, plus listed versions 1.6.11.6.1-tuxcare.1 |
1.6.1-tuxcare.2 |
morganRoot:npm |
before 1.6.1-aikido.1 | 1.6.1-aikido.1 |
@rootio/morganRoot:npm |
before 1.6.1-root.io.1 | 1.6.1-root.io.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | forse01/CVE-2019-5413-NetBeans | 2021-02-04 |
| PoC in GitHub | forse01/CVE-2019-5413-NetBeans-NoJson | 2021-02-16 |
| PoC in GitHub | crstaicu/CVE-2019-5413 | 2025-12-21 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploits, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-5413 is a critical vulnerability (CVSS 9.8) in Morgan Project Morgan, published March 17, 2019. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.40%, the 88th percentile. Fixed in morgan 1.9.1.
References
hackerone.com/reports/390881
lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E
lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2019-5413
github.com/advisories/GHSA-gwg9-rgvj-4h5j
github.com/nodejs/security-wg/blob/master/vuln/npm/473.json
npmjs.com/advisories/736
lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans.apache.org%3E
lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.netbeans.apache.org%3E