npm binary-parser before 2.3.1: attacker-controlled parser definitions can inject JavaScript (CVE-2026-134814)
- Affected: binary-parser (npm, keichi) before 2.3.1. Fixed: 2.3.1.
- Cause: Context.generateOption() passed string options into generated JavaScript without validation.
- Exposure needs attacker control over the parser definition (schema), not just the bytes being parsed. Review where your schemas come from.
Sources: GitHub advisory GHSA-xmxc-6c22-m377 (binary-parser) · CVE.org: CVE-2026-134814