Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. protobufjs
  4. ›
  5. GHSA-xq3m-2v4x-88gg

GHSA-xq3m-2v4x-88gg: Arbitrary code execution in protobufjs

April 16, 2026 (updated April 30, 2026)

protobufjs compiles protobuf definitions into JS functions. Attackers can manipulate these definitions to execute arbitrary JS code.

References

  • github.com/advisories/GHSA-xq3m-2v4x-88gg
  • github.com/protobufjs/protobuf.js
  • github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg

Code Behaviors & Features

Detect and mitigate GHSA-xq3m-2v4x-88gg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.5.5, all versions starting from 8.0.0 before 8.0.1

Fixed versions

  • 8.0.1
  • 7.5.5

Solution

Upgrade to versions 7.5.5, 8.0.1 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/protobufjs/GHSA-xq3m-2v4x-88gg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:08 +0000.