protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-05-13 16:16
Updated : 2026-09-09 13:20
NVD link : CVE-2026-44293
Mitre link : CVE-2026-44293
CVE.ORG link : CVE-2026-44293
JSON object : View
Products Affected
protobufjs_project
- protobufjs
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
