What’s Vulnerable › Vulnerabilities
CVE-2022-21213: Prototype Pollution
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-17 · updated 2026-06-17
- Weakness: CWE-1321
Description
This affects all versions of package mout. The deepFillIn function can be used to 'fill missing properties recursively', while the deepMixIn mixes objects into the target object, recursively mixing existing child objects as well. In both cases, the key used to access the target object recursively is not checked, leading to exploiting this vulnerability. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-7792](https://security.snyk.io/vuln/SNYK-JS-MOUT-1014544).
Affected products
- mout: all versions
References
- https://github.com/mout/mout/blob/master/src/object/deepFillIn.js
- https://github.com/mout/mout/blob/master/src/object/deepMixIn.js
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622
- https://snyk.io/vuln/SNYK-JS-MOUT-2342654
- https://github.com/mout/mout/blob/master/src/object/deepFillIn.js
- https://github.com/mout/mout/blob/master/src/object/deepMixIn.js
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622
- https://snyk.io/vuln/SNYK-JS-MOUT-2342654
Get alerted when CVE-2022-21213 or the next vulnerability affects your stack