Intel

AIKIDO-2026-442728

morgan is vulnerable to Log Injection

Log InjectionCVE-2026-15603 Published 2 days ago

53

Medium Risk

This Affects:

JSmorgan
0.0.1 - 1.11.0
Fixed in 1.12.0
Are you affected? Scan for Free

TL;DR

Morgan is an HTTP request logger that writes token values such as the request URL, the User-Agent and Referrer headers, and the Basic authentication username into a line-oriented log stream. An earlier fix neutralized C0 control characters but left Unicode line separators such as NEL, LINE SEPARATOR, and PARAGRAPH SEPARATOR unescaped, and token values produced by custom format functions were not escaped. Because these separators are valid in ordinary HTTP requests and headers, externally influenced input can split one log record into several forged entries and inject terminal control sequences, corrupting log integrity. The fix escapes all string token output, including custom function output, and extends escaping to C1 control characters and the Unicode line separators.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

morgan is vulnerable to Log Injection in versions 0.0.1 - 1.11.0.

How to fix this

Upgrade the morgan library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform