目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-87859— expressjs morgan 输出处理不当漏洞

一分钟漏洞结论

影响对象
morgan morgan
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

expressjs morgan是expressjs组织的一款HTTP请求日志中间件。 expressjs morgan 1.12.1之前版本存在输出处理不当漏洞,该漏洞源于escapeLogField()函数未对双引号进行转义,未经身份验证的远程攻击者可控制User-Agent或Referer标头等带引号字段的值,插入双引号提前闭合该字段,导致按字段位置解析日志的消费者将攻击者提供的文本读取为后续字段,从而伪造响应状态等值。

CVSS 5.3 · Medium EPSS 0.41% · P35

可能的 ATT&CK 技术 1 AI

T1070.001

影响版本矩阵 2

厂商产品 版本范围状态
morgan morgan < 1.12.1 affected
1.12.1 unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-87859 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
morgan vulnerable to Log Injection via unescaped double quote in quoted log fields
来源: CVE Program / CVE List V5
Vulnerability Description
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 written to a quoted field, such as the User-Agent or Referer header, can include a double quote to close that field early, so a log consumer that parses the log by field position reads attacker-supplied text as the following field. In the built-in formats this makes the recorded value differ from the value that was sent, and in custom formats that quote an attacker-controlled token before a server-controlled one it can forge values such as the response status. No newline is injected, so record separation stays intact. The issue is fixed in morgan 1.12.1, which escapes the double quote. Users should upgrade to morgan 1.12.1 or later.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
日志输出的转义处理不恰当
来源: CVE Program / CVE List V5
Vulnerability Title
expressjs morgan 输出处理不当漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
expressjs morgan是expressjs组织的一款HTTP请求日志中间件。 expressjs morgan 1.12.1之前版本存在输出处理不当漏洞,该漏洞源于escapeLogField()函数未对双引号进行转义,未经身份验证的远程攻击者可控制User-Agent或Referer标头等带引号字段的值,插入双引号提前闭合该字段,导致按字段位置解析日志的消费者将攻击者提供的文本读取为后续字段,从而伪造响应状态等值。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
morgan morgan 0 ~ 1.12.1 -

二、漏洞 CVE-2026-87859 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-87859 的情报信息

请登录查看更多情报信息。

CVE-2026-87859 厂商安全公告 (1)

IV. Related Vulnerabilities