8.7
/ 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Description
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.
AI Analysis
Code injection vulnerability in pbjs static output from crafted schema names
Basic Information
ID
CVE-2026-44295
Source
GitHub_M
Published
May 13, 2026 at 14:50
Affected Product
Vendor
protobufjs
Product
protobuf.js
Version
>= 2.0.0, < 2.0.2
Affected Versions
protobufjs protobuf.js >= 2.0.0, < 2.0.2
protobufjs protobuf.js < 1.2.1
protobufjs protobuf.js < 1.2.1
CWE Classification
AI Assessment
AI Score
8.7 / 10
AI Severity
High
Vendor
protobufjs
Product
protobuf.js
Version
< 1.2.1, >= 2.0.0, < 2.0.2