Code Injection in protobufjs-cli - CVE-2026-44295
Published: May 12, 2026
protobufjs-cli
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper control of code generation in pbjs static code generation output when processing a crafted schema or JSON descriptor. A remote user can provide crafted schema names to inject attacker-controlled code into generated JavaScript output to execute arbitrary code.
User interaction is required because the generated JavaScript file must later be executed, imported, or otherwise evaluated.