{"id":"CVE-2026-44295","published":"2026-05-13T14:50:39Z","modified":"2026-05-13T18:20:05Z","title":"protobufjs-cli: Code injection in pbjs static output from crafted schema names","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00361,"percentile":0.22111,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-6r35-46g8-jcw9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":4.42},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">= 2.0.0, < 2.0.2","< 1.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-13T18:13:59.763256Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs-cli","vulnerableRanges":["<1.2.1",">=2.0.0, <2.0.2"],"patched":["1.2.1","2.0.2"],"from":["GHSA-6r35-46g8-jcw9"],"provenance":"source"}],"summary":{"text":"The protobufjs-cli command line add-on for protobuf.js (pbjs static code generation) can emit unsafe JavaScript identifiers derived from schema-controlled names such as namespace, enum, service, or full names, allowing code injection into generated output. An attacker who can supply a crafted schema or JSON descriptor for static JavaScript generation can inject code into the output, and exploitation requires a user to act on that input, with the attack network-reachable and the attacker holding low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:44Z"},"euvd":{"id":"EUVD-2026-30033","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-protobufjs-protobuf-js-cve-2026-44295","children":[{"from":"CVE-2026-44295","to":"CVE-2026-54271","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a bypass of CVE-2026-44295.","from":"CVE.org","in":"CVE-2026-54271"},{"kind":"version-step","provenance":"source","package":"npm:protobufjs-cli","fromFixed":"1.2.1","toFixed":"1.3.2","daysApart":40},{"kind":"version-step","provenance":"source","package":"npm:protobufjs-cli","fromFixed":"2.0.2","toFixed":"2.5.0","daysApart":40},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-42290","published":"2026-05-13","fixed":"2.0.2","kev":false},{"cve":"CVE-2026-44295","published":"2026-05-13","fixed":"2.0.2","kev":false},{"cve":"CVE-2026-54271","published":"2026-06-22","fixed":"2.5.0","kev":false},{"cve":"CVE-2026-54269","published":"2026-06-22","fixed":"2.5.1","kev":false}],"package":"npm:protobufjs-cli"}}