Description
The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the Object.prototype. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 2.3% · top 16% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Weakness
- Prototype Pollution
- CWE-1321 (opens in a new tab)All about CWE-1321 and its CVEs
Affected products
protobufjs
- affected unspecified – < 6.11.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmprotobufjsGHSA-g954-5hwp-pp24 (opens in a new tab)
References (5)
- https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/protobufjs/protobuf.js/pull/1731 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g954-5hwp-pp24 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25878)Record last updated .