Improper Output Encoding in Protobuf.js Command Line Tool
CVE-2026-44295
8.7HIGH
What is CVE-2026-44295?
The protobufjs-cli, a command line tool for protobuf.js, has a vulnerability that allows unsafe JavaScript identifiers to be produced from schema-controlled names prior to versions 1.2.1 and 2.0.2. When static JavaScript is generated from a manipulated schema or JSON descriptor, inadequate sanitization permits certain namespace, enum, service, or derived full names to be improperly written into the output. This poses a risk as it could be exploited to execute arbitrary code or disrupt application functionality.
Affected Version(s)
protobuf.js >= 2.0.0, < 2.0.2 < 2.0.0, 2.0.2
protobuf.js < 1.2.1 < 1.2.1
