morgan

HTTP request logger middleware for node.js

1.12.1Latest, 11 Sep 2026
77MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
8.2KStars
6.8/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate morgan vulnerable to Log Injection via unescaped double quote in quoted log fields CVE-2026-87859 Fixed in 1.12.1 28 Sep 2026
Moderate morgan vulnerable to Log Forging via unescaped Unicode line separators CVE-2026-15603 Fixed in 1.12.0 8 Sep 2026
Moderate morgan vulnerable to Log Forging via unneutralized control characters in :remote-user CVE-2026-5078 Fixed in 1.11.0 10 Jul 2026
Critical Code Injection in morgan CVE-2019-5413 Fixed in 1.9.1 25 Mar 2019

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.