{"id":"CVE-2026-15603","aliases":["CVE-2026-15603","GHSA-jxfw-x594-9x9m"],"related":[],"kind":"vulnerability","state":"published","title":"morgan vulnerable to Log Forging via unescaped Unicode line separators","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nMorgan writes attacker-controlled request data to the access log through its tokens. The 1.11.0 fix neutralizes C0 control characters, DEL, and backslash, but it does not escape the Unicode line separators `U+0085` (NEL), `U+2028` (LINE SEPARATOR), or `U+2029` (PARAGRAPH SEPARATOR). These code points are reachable through several tokens, including the request URL (`:url`), request headers such as `:user-agent` and `:referrer`, arbitrary `:req[header]` values, and the Basic auth username (`:remote-user`). NEL is valid `obs-text` in HTTP header values, so an attacker can place it in an ordinary request header.\n\nWhen such a value is logged, the raw code points survive into the emitted access-log record, and downstream ECMAScript-aware or Unicode-aware log processing splits the single physical record into multiple logical records. This allows an attacker to forge log entries. The built-in `combined`, `common`, `default`, and `short` formats are affected, as well as any custom format. This is an incomplete fix of CVE-2026-5078.\n\n### Patches\n\nUsers should upgrade to version 1.12.0.\n\n### Workarounds\n\nNone. The affected values include the request URL and request headers, which are core to access logging, so there is no practical format-based mitigation. Upgrade to 1.12.0.","format":"markdown","source":"ghsa"}],"published":"2026-08-28T13:41:49.521Z","modified":"2026-09-08T21:45:04.626Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-117"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.12.0","status":"affected"}],"vendor":"morgan","product":"morgan","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.12.0"}],"ecosystem":"npm","package":"morgan","purl":"pkg:npm/morgan","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.12.0"}],"vendor":"morgan_project","product":"morgan","cpe":"cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/expressjs/morgan/security/advisories/GHSA-jxfw-x594-9x9m","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15603","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/morgan/commit/fbf93833186920cc39bb19b247e4a86b61bef4fe","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/morgan","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/morgan/releases/tag/1.12.0","tags":["web"],"sources":["ghsa"]}],"credits":["mfazrinizar","UlisesGascon","jonchurch","bjohansebas","iaohkut-from-NightWolf-Team"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-28T18:23:50.016Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-15603","url":"https://www.cve.org/CVERecord?id=CVE-2026-15603","licence":"CVE Terms of Use","modified":"2026-08-28T18:23:58.959Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jxfw-x594-9x9m","url":"https://github.com/advisories/GHSA-jxfw-x594-9x9m","licence":"CC-BY-4.0","modified":"2026-09-08T21:45:04.626Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-15603","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15603","licence":"Public domain","modified":"2026-08-31T17:11:12.057Z"}],"updatedAt":"2026-11-25T22:59:35.648Z","epss":{"score":0.00311,"percentile":0.25913,"date":"2026-12-01T12:00:22.000Z"}}