Description
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 addressed ASCII control characters. The issue is fixed in morgan 1.12.0, which extends the escaping set to cover these Unicode line separators. Upgrade to morgan 1.12.0 to remediate.
Published: 2026-08-28
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Morgan implements its own log token escaping but fails to neutralize Unicode line separator characters (U+0085, U+2028, U+2029). An unauthenticated remote client can inject these control characters into an attacker-controlled token such as a Basic auth username. The downstream log processing – which is Unicode-aware – splits the single request log entry into multiple logical records, effectively forging logs. This flaw allows an attacker to hide malicious activity or mislead auditors, representing a medium-severity integrity violation (CWE-117).

Affected Systems

The affected product is the Morgan HTTP request logger middleware for Node.js. Any installation of Morgan prior to version 1.12.0 is vulnerable. The issue is resolved starting in version 1.12.0, which expands the escaping set to cover the problematic Unicode line separators.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate risk, and the lack of an EPSS score suggests limited publicly known exploitation activity. The vulnerability is not listed in the CISA KEV catalog, further indicating it has not yet been widely exploited. An attacker can exploit this weakness via an unauthenticated HTTP request that contains the offending Unicode characters. Given the moderate severity and the ease of triggering the vulnerable code path, the risk warrants timely remediation but does not represent an immediate high-impact threat.

Generated by OpenCVE AI on August 28, 2026 at 16:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Morgan to version 1.12.0 or later using npm (e.g., npm install morgan@latest).
  • Restart the Node.js application so the new version is loaded.
  • Verify that log output no longer contains unintended line breaks; if the attacker-controlled data is still exposed, temporarily remove user tokens such as the Basic auth username from the log format.

Generated by OpenCVE AI on August 28, 2026 at 16:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Morgan
Morgan morgan
Vendors & Products Morgan
Morgan morgan

Fri, 28 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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 addressed ASCII control characters. The issue is fixed in morgan 1.12.0, which extends the escaping set to cover these Unicode line separators. Upgrade to morgan 1.12.0 to remediate.
Title morgan vulnerable to Log Forging via unescaped Unicode line separators
Weaknesses CWE-117
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-08-28T13:41:49.521Z

Reserved: 2026-07-13T15:00:54.278Z

Link: CVE-2026-15603

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T16:17:07.417

Modified: 2026-08-28T16:17:07.417

Link: CVE-2026-15603

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T17:00:13Z

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs