p PatchFirst

PatchFirst · Latest vulnerabilities

node-morgan vulnerabilities

Vulnerabilities published for node-morgan in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 3

  1. CVE-2026-87859

    Medium · CVSS 5.3EPSS 0.41%Fix available

    morgan vulnerable to Log Injection via unescaped double quote in quoted log fields

    morgan is an HTTP request logger middleware for Node.js. In versions before 1.12.1, its escapeLogField() function does not escape the double quote character, which delimits the quoted fields of the Apache combined log format that morgan emits. An unauthenticated remote attacker who controls a value written to a quoted field, such as the User-Agent or Referer header, can include a double quote to close that field early, so a log consumer that parses the log by field position reads attacker-supplied text as the following field. In the built-in formats this makes the recorded value differ from the value that was sent, and in custom formats that

    • Update to 1.12.1+~1.9.10-1
    Published Updated
  2. CVE-2026-15603

    Medium · CVSS 5.3EPSS 0.4%Fix available

    morgan vulnerable to Log Forging via unescaped Unicode line separators

    morgan is an HTTP request logger middleware for Node.js. In versions prior to 1.12.0, the internal helper that escapes log token values did not neutralize the Unicode line separator characters U+0085 (Next Line), U+2028 (Line Separator), and U+2029 (Paragraph Separator). An unauthenticated remote client can place these characters in an attacker-controlled log token, for example a Basic auth username surfaced through the remote-user token, so that Unicode-aware downstream log processing splits a single request log into multiple logical records. This is a log forging issue (CWE-117) and an incomplete-fix follow-up to CVE-2026-5078, which only a

    • Update to 1.12.0+~1.9.10-1
    Published Updated
  3. CVE-2026-5078

    Medium · CVSS 5.3EPSS 0.33%Fix available

    morgan vulnerable to Log Forging via unneutralized control characters in :remote-user

    Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authorization request header and writes it to the log stream without neutralizing control characters. An unauthenticated attacker can send a crafted Authorization Basic header containing CR or LF bytes to inject forged log lines, breaking the one-request-per-line structure of access logs and enabling log forgery against downstream log consumers. The built-in combined, common, default, and short formats are affected, as well as any custom format that references :remote-user. Affected versions: morgan 1.2.0 through 1.10.1. Patches: upgrade to mo

    • Update to 1.12.0+~1.9.10-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →