# CVE-2022-25878: Prototype Pollution

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 6.11.3 (CNA); fix release not confirmed
- Status: published
- Published: 2022-05-27 · Modified: 2024-09-17
- Aliases: GHSA-g954-5hwp-pp24
- Record: https://cvemate.com/vulnerability/CVE-2022-25878 · JSON: https://cvemate.com/vulnerability/CVE-2022-25878/json

## Description

```text
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
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P
- EPSS: 2.329%, percentile 84.079%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- Npm protobufjs (Npm): ≥ 6.11.0, \< 6.11.3 \| ≥ 6.10.0, \< 6.10.3
- protobufjs\_project protobufjs: \< 6.11.3

## References

- <https://snyk.io/vuln/SNYK-JS-PROTOBUFJS-2441248>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2841507>
- <https://github.com/protobufjs/protobuf.js/blob/d13d5d5688052e366aa2e9169f50dfca376b32cf/src/util.js%23L176-L197>
- <https://github.com/protobufjs/protobuf.js/commit/b5f1391dff5515894830a6570e6d73f5511b2e8f>
- <https://github.com/protobufjs/protobuf.js/pull/1731>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25878>
- <https://github.com/protobufjs/protobuf.js/pull/1735>
- <https://github.com/protobufjs/protobuf.js>

---

Data as of 2026-12-05T05:31:30.295Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
