CVE-2022-21213: Prototype Pollution in mout

mout Updated 02 Oct 2025

Summary

18/06/2022
Yes i
High
7.5

CVE-2022-21213: Prototype Pollution in mout. Affects mout versions < 1.2.4. Fixed in 1.2.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package under scrutiny is mout, an npm package. mout provides a collection of utility functions for JavaScript, including functions for manipulating objects, arrays, and other data types. It is widely used in various applications and projects. However, all versions of mout are vulnerable to a prototype pollution vulnerability.

Vulnerability Detail

The vulnerability in mout is related to the functions deepFillIn and deepMixIn. These functions are used to recursively fill missing properties and mix objects into the target object, respectively. However, the key used to access the target object recursively is not properly checked, allowing an attacker to exploit this vulnerability. This vulnerability is a result of an incomplete fix for a previous vulnerability (CVE-2020-7792). The impact of this vulnerability can be severe, as an attacker can manipulate the prototype of objects and potentially execute arbitrary code.

How To Fix

Latest published version: 1.2.4 as of 23 Oct 2026

npm install mout@1.2.4

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of mout to mitigate the risk of exploitation.

Conclusion

The mout package is vulnerable to a prototype pollution issue that can be exploited to execute arbitrary code. It is crucial to update to version 1.2.4 or later to fix this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for mout →

Share this vulnerability

FAQ

mout is an npm package that provides utility functions for JavaScript, including object manipulation and array operations.

Prototype pollution is a vulnerability that allows an attacker to modify the prototype of objects, leading to unexpected behavior and potential code execution.

By exploiting the prototype pollution vulnerability in mout, an attacker can manipulate the prototype of objects and potentially execute arbitrary code.

Yes, this vulnerability is an incomplete fix for a previous vulnerability (CVE-2020-7792).

The impact of this vulnerability can be severe, as it allows an attacker to manipulate objects' prototypes and potentially execute arbitrary code.

Related vulnerabilities

Recent vulnerabilities recorded for mout.

How To Fix

Latest published version: 1.2.4 as of 23 Oct 2026

npm install mout@1.2.4

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback