MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-87859GHSA-9f6g-j8ch-79g4

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

Not on CISA KEVCVSS 5.3 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)