binary-parser · Disclosed

binary-parser 2.3.1 Fixes JavaScript Injection via Parser Definitions

· 1 min read

CVE-2026-134814 (CVSS 9.2, per The Hacker News) is a code injection flaw in the npm library binary-parser: an attacker who controls parser definitions can run arbitrary JavaScript in Node.js apps. Versions before 2.3.1 are affected and the fix shipped in 2.3.1; no in-the-wild exploitation has been reported. Update dependencies that use the package.

Illustration: binary-parser 2.3.1 Fixes JavaScript Injection via Parser Definitions
WhatsApp LinkedIn X
HighVulnerabilityDisclosedPatched

In 30 seconds

thehackernews.com
Observed

A critical security flaw has been disclosed in binary-parser, a popular npm library for decoding binary data. Tracked as CVE-2026-134814 and rated 9.2 out of 10 in severity, the bug is a code injection issue: an attacker who controls the parser definitions fed to the library can execute arbitrary code inside the application. Versions before 2.3.1 are affected.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

What happened

Observed

The disclosure came via a report from The Hacker News published on November 23, 2026, which tracked the flaw as CVE-2026-134814 with dual CVSS scores of 9.2 and 8.1. The affected range is specific: every version of binary-parser released before 2.3.1. The publisher amplified the finding on X roughly two minutes after the article went live.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Alleged

The core claim, relayed from the security advisory, is that binary-parser before 2.3.1 contains a code injection vulnerability that allows an attacker who controls parser definitions to execute arbitrary code. The severity and the exploit path both come from this disclosure reporting, not from an independently confirmed incident.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source list

Why it matters

Observed

The severity rating tells the story: 9.2 on the CVSS scale sits firmly in critical territory. The publisher's social post framed the practical stakes plainly, saying the flaw can let attackers execute arbitrary JavaScript inside Node.js apps, meaning the injected code would run as part of the application itself rather than in a sandbox.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Inferred

Not every app using binary-parser carries the same risk. The attack path requires the attacker to control parser definitions, the recipes that tell the library how to decode a binary format. Projects that build those definitions from untrusted input, such as user uploads or remote configuration, are the natural exposed surface, while apps with fixed hard-coded definitions face a much narrower threat.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source list

What to do

Inferred

The version boundary in the advisory points to a direct remedy: move any binary-parser dependency to 2.3.1 or later, then check whether your code ever builds parser definitions from data you do not control. If it does, treat those inputs as untrusted until the upgrade is in place.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Confirmed and still uncertain

Observed

What is established so far: the CVE identifier (CVE-2026-134814), the reported severity (9.2, alongside an alternative score of 8.1), the flaw type (code injection), the precondition (attacker-controlled parser definitions), and the affected range (everything before 2.3.1).Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Inferred

What remains open is just as important. Neither the article nor the publisher's post says whether any exploitation in the wild has been observed, and the captured text does not explain the technical root cause, the difference between the two CVSS scores, or the exact change that version 2.3.1 introduced.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

What people are saying

Observed

The Hackers News account on X pushed the story hard, opening with a warning emoji and the word CRITICAL in capitals, and telling developers that a 9.2-severity flaw in the popular npm library can let attackers execute arbitrary JavaScript inside Node.js apps when attackers control parser definitions.TheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Evolution

Observed

The timeline in this batch is short and tight. The article landed first, at 13:22 UTC on November 23, 2026, and the publisher's own X post followed about two minutes later, linking back to the full report. No earlier advisories, upstream commits, or third-party analyses appear in the evidence batch, so the public record here starts with this disclosure.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Reach

Observed

2 independent groups, 2 updates, and 0 engagements.

Technical detail

Observed

Binary-parser works by turning declarative definitions into decoders for binary formats, and that is exactly where the weakness lives. The vulnerability class is code injection through those definitions: the quoted advisory says an attacker who controls them can execute arbitrary code, and the publisher's post pins the execution target as arbitrary JavaScript inside Node.js apps.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Inferred

The dual severity figures, 9.2 and 8.1, likely reflect two separate scoring calculations, perhaps different CVSS versions or environmental assumptions, though the captured text does not explain the pairing.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source list

Sources and evidence

Observed

This item rests on two sources: the primary article from The Hacker News and the publisher's post on X linking back to it. The article text arrived truncated mid-sentence inside the advisory quote, and no NVD entry, GitHub advisory, or upstream commit appears in the batch, so independent confirmation of the CVE details is still pending.Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rssOpen original sourceSee in source listTheHackersNewsx.com · TheHackersNews · xOpen original sourceSee in source list

Sources

  1. Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitionsthehackernews.com · rss
  2. TheHackersNewsx.com · TheHackersNews · x

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click