CVE-2026-44295
CVE-2026-44295 · protobufjs-cli: Code injection in pbjs static output from crafted schema names
This page contains facts from public vulnerability sources. Check the original advisory before updating.
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.
CVSS 8.7 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
protobuf.js
- Versions
- >= 2.0.0, < 2.0.2: Affected
- < 1.2.1: Affected
No fix published
protobufjs-cli npm
- Affected ranges
- SEMVER: < 1.2.1
Update to 1.2.1
protobufjs-cli npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 2.0.2
Update to 2.0.2