Skip to content
Fencer Intel
critical 9.8

CVE-2019-5413 json

Code Injection in morgan

published 7y ago modified 7d ago also GHSA-gwg9-rgvj-4h5j , EUVD-2019-0382

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.

Patch / fix

  • npm morgan 1.9.1
  • morgan_project morgan 1.9.1

Is CVE-2019-5413 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-5413 updated cvss 5.0

nodejs-morgan: Unescaped input in compile() function

  • Red Hat OpenShift Container Platform 3.4 nodejs-morgan Red Hat OpenShift Container Platform 3.5 nodejs-morgan Red Hat OpenShift Container Platform 3.6 nodejs-morgan Red Hat OpenShift Container Platform 3.7 nodejs-morgan
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.9 nodejs-morgan Red Hat OpenShift Container Platform 3.10 nodejs-morgan
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
7d ago

Exploit prediction

3.40% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/390881 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm morgan
<1.9.1
1.9.1

Affected products

  • n/a morgan

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.