{"answers":{"affected":"2 open source packages ship an affected version, including morgan. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-15603 in the wild and no public exploit code.","fix":"Upgrade morgan to 1.12.0 or later.","what":"CVE-2026-15603 is a medium-severity vulnerability in morgan, published on 28 Aug 2026."},"fix_prompt":"Check this codebase for CVE-2026-15603 and fix it if it is affected.\n\nWhat it is: CVE-2026-15603 is a medium-severity vulnerability in morgan, published on 28 Aug 2026. \nExploitation: There is no known exploitation of CVE-2026-15603 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- morgan (npm): affected all versions; fixed in 1.12.0\n- morgan (npm): affected all versions; fixed in 1.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-15603/ (Markdown: https://insights.sbomify.com/CVE-2026-15603/index.md)","id":"CVE-2026-15603","markdown":"https://insights.sbomify.com/CVE-2026-15603/index.md","name":"CVE-2026-15603","record":{"aliases":["CLSA-2026-1788988321","CLSA-2026-1790108609","DEBIAN-CVE-2026-15603","GHSA-jxfw-x594-9x9m","MINI-6r4p-p49x-42cq","MINI-vhj5-2rj7-vmfr","UBUNTU-CVE-2026-15603"],"analysis":null,"analysis_generated_by":null,"assigner":"openjs","cpe":[{"product":"morgan","vendor":"morgan_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"morgan vulnerable to Log Forging via unescaped Unicode line separators","id":"CVE-2026-15603","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Toocheke Companion \u003c= 2.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'series_bg_color' Post Meta","id":"CVE-2026-15604"},"packages":[{"ecosystem":"npm","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"morgan","purl":null,"source":"GHSA-jxfw-x594-9x9m"},{"ecosystem":"npm","fixed":["1.12.0"],"introduced":["0"],"last_affected":[],"package":"morgan","purl":"pkg:npm/morgan","source":"GHSA-jxfw-x594-9x9m"}],"prev":{"headline":"NEX-Forms \u003c= 9.2.4 - Authenticated (Admin+) SQL Injection via 'additional_params' Parameter","id":"CVE-2026-15602"},"products":["morgan"],"published":"2026-08-28","related":[{"cvss_score":9.8,"headline":"Code Injection in morgan","id":"CVE-2019-5413","kev_date_added":null,"published":"2019-03-17"},{"cvss_score":5.3,"headline":"morgan vulnerable to Log Forging via unneutralized control characters in :remote-user","id":"CVE-2026-5078","kev_date_added":null,"published":"2026-06-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-28","vendors":["morgan"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-15603/"}