Vulnerabilities/

protobuf.js: Prototype injection in generated message constructors

Severity:
Medium

Description

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.

Recommendation

Update the protobufjs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
protobufjs
Anything's wrong? Let us know Last updated on May 14, 2026