# CVE-2021-23438: Prototype Pollution

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-01 · Modified: 2024-09-16
- Aliases: GHSA-p92x-r36w-9395
- Record: https://cvemate.com/vulnerability/CVE-2021-23438 · JSON: https://cvemate.com/vulnerability/CVE-2021-23438/json

## Description

```text
This affects the package mpath before 0.8.4. A type confusion vulnerability can lead to a bypass of CVE-2018-16490. In particular, the condition ignoreProperties.indexOf(parts[i]) !== -1 returns -1 if parts[i] is ['__proto__']. This is because the method that has been called if the input is an array is Array.prototype.indexOf() and not String.prototype.indexOf(). They behave differently depending on the type of the input.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.723%, percentile 78.307%, 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

- mpath\_project mpath: \< 0.8.4
- Npm mpath (Npm): \< 0.8.4

## References

- <https://snyk.io/vuln/SNYK-JS-MPATH-1577289>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1579548>
- <https://github.com/aheckmann/mpath/commit/89402d2880d4ea3518480a8c9847c541f2d824fc>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23438>
- <https://github.com/mongoosejs/mpath/commit/89402d2880d4ea3518480a8c9847c541f2d824fc>
- <https://github.com/aheckmann/mpath>

---

Data as of 2026-12-05T06:33:41.409Z. 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
