Back to advisories

52M-Download protobuf.js Library Hit by RCE in Schema Handling

A critical RCE vulnerability (CVSS 9.4) was discovered in protobuf.js, a JavaScript library downloaded 52M times monthly. Attackers can inject malicious code through crafted schema names that bypass input validation in the Function constructor. Any application using protobufjs versions 8.0.0 or earlier, or 7.5.4 or earlier, is at risk of remote code execution.