CVE-2026-44295
HIGHprotobufjs-cli: Code injection in pbjs static output from crafted schema names
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-6r35-46g8-jcw9
Scores
CVSS v3
8.7
EPSS
0.0003
EPSS Percentile
10.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (5)
npm/protobufjs-cli
0 - 1.2.1npm
npm/protobufjs-cli
2.0.0 - 2.0.2npm
protobufjs/protobuf.js
< 1.2.1
protobufjs/protobuf.js
>= 2.0.0, < 2.0.2
protobufjs_project/protobufjs-cli
< 1.2.1
Published
May 13, 2026
Tracked Since
May 13, 2026