Every CVE Search/ Get API key

CVE-2019-5413

Code Injection in morgan

9.8 CriticalPublic exploitFix available

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

3.40%Up 2.6 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
morgan
npm
before 1.9.1
1.9.1
morgan
TuxCare:npm
1.5.3-tuxcare.0 up to 1.5.3-tuxcare.1, plus listed versions
1.5.3
1.5.3-tuxcare.1
morgan
TuxCare: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
morgan
Root:npm
before 1.6.1-aikido.1
1.6.1-aikido.1
@rootio/morgan
Root:npm
before 1.6.1-root.io.1
1.6.1-root.io.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubforse01/CVE-2019-5413-NetBeans2021-02-04
PoC in GitHubforse01/CVE-2019-5413-NetBeans-NoJson2021-02-16
PoC in GitHubcrstaicu/CVE-2019-54132025-12-21

History

History
RecordedChangedSources
exploits, factsOSV
aliasesEUVD
first indexedCVE 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

MoveEnter Open