Critical
Security advisory
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-5413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:38 UTC · Revision 1
Source evidence
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
osv:CVE-2019-5413
Complete source record
{
"id": "4363b4f7c345c3646343c0a852827ef437936cd7a2417b1feb7626388c116399",
"url": "https://osv.dev/vulnerability/CVE-2019-5413",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-5413",
"summary": "An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.",
"evidence": "osv:CVE-2019-5413",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-5413",
"aliases": [
"CVE-2019-5413",
"GHSA-gwg9-rgvj-4h5j"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/expressjs/morgan",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "572dd937f26d486babc709228c98fd15dd807408"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.9.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.9.0",
"1.8.2",
"1.8.1",
"1.8.0",
"1.7.0",
"1.6.1",
"1.6.0",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.1",
"1.4.0",
"1.3.2",
"1.3.1",
"1.3.0",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.1",
"1.1.0",
"1.0.1",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5413.json"
}
}
],
"modified": "2026-10-24T10:30:21.208147215Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E",
"https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E",
"https://hackerone.com/reports/390881"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-5413",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430440,
"published_at": "2019-03-21T16:01:05.39+00:00"
}