CVE-2026-87859
Last modified
CVE-2026-87859 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| morgan | morgan | < 1.12.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-87859?
How severe is CVE-2026-87859?
How do I fix CVE-2026-87859?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-87842The Zonify WordPress plugin before 1.0.5 does not perform a…7.5
- CVE-2026-87848The MPCX Lightbox WordPress plugin 1.2.2 through 1.2.5 does …3.7
- CVE-2026-8785A flaw has been found in projectworlds hospital-management-s…7.3
- CVE-2026-87853A flaw was found in SSSD's IdP authentication provider. The …7.5
- CVE-2026-87854The Subscriptions for WooCommerce WordPress plugin before 2.…5.3
- CVE-2026-87858Temporal Server decided whether a Workflow completion callba…7.2
- CVE-2026-8786A vulnerability has been found in Tencent WeKnora up to 0.3.…6.3
- CVE-2026-87860The Subscriptions for WooCommerce WordPress plugin before 2.…4.3
- CVE-2026-8787The Firebase Support & Chat Management plugin for WordPress …8.8
- CVE-2026-87870The Ninja Forms - Scheduled Exports plugin for WordPress is …6.4
- CVE-2026-87872A flaw was found in the OCAPI modules (ocapi_command, ocapi_…6.8
- CVE-2026-87874A flaw was found in the memcached cache plugin of the commun…8.1
Are you affected by CVE-2026-87859?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
