published 13 May 2026 · updated 11 Nov 2026
protobufjs: Prototype injection in generated message constructors
5.3MediumCVSS 5.3EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 7.5.6 and 8.0.2.
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated message constructors copied enumerable properties from a provided properties object without filtering the __proto__ key. If an application constructed a message from an attacker-controlled plain object, an own enumerable __proto__ property could alter the prototype of that individual message instance. This vulnerability is fixed in 7.5.6 and 8.0.2.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| protobufjs | <7.5.6, >=8.0.0 <8.0.2 | ||
| protobufjs_project | protobufjs | <7.5.6, >=8.0.0 <8.0.2 | 7.5.6, 8.0.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket