Code Injection in protobufjs-cli - CVE-2026-54271
Published: June 13, 2026
protobufjs-cli
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper control of code generation in pbjs static and static-module code generation when processing crafted pre-parsed JSON descriptors. A remote attacker can provide a specially crafted JSON descriptor to execute arbitrary code.
User interaction is required because the generated JavaScript must later be executed or imported and an affected generated API path must be invoked.