Home

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-13 | Updated 2026-05-13 | Assigner GitHub_M




HIGH: 8.7CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

>= 2.0.0, < 2.0.2
affected

< 1.2.1
affected

References

github.com/...buf.js/security/advisories/GHSA-6r35-46g8-jcw9

cve.org (CVE-2026-44295)

nvd.nist.gov (CVE-2026-44295)

Download JSON