CVE-2020-7600: querymen - Improperly Controlled Modification of Dynamically-Determined Object Attributes

querymen Updated 02 Oct 2025

Summary

07/05/2021
Yes i
Moderate
5.3

CVE-2020-7600: Improperly Controlled Modification of Dynamically-Determined Object Attributes in querymen. Affects querymen versions < 2.1.4. Fixed in 2.1.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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

querymen is an npm package that provides a query builder for MongoDB. It allows users to construct complex queries using a simple and intuitive API. However, prior to version 2.1.4, querymen is vulnerable to an improper modification of object properties, which can be abused for Prototype Pollution attacks.

Vulnerability Detail

The vulnerability in querymen arises from the lack of sanitization of the parameters in the exported function handler(type, name, fn). This allows users to control these parameters without any validation, leading to potential Prototype Pollution attacks. An attacker could manipulate the object properties and introduce malicious code, potentially leading to unauthorized access, data manipulation, or denial of service.

How To Fix

Latest published version: 2.1.4 as of 22 Oct 2026

npm install querymen@2.1.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 essential to update to the fixed version of querymen to mitigate the risk.

Conclusion

The vulnerability in querymen allows for the improper modification of object properties, which can be exploited for Prototype Pollution attacks. It is crucial to update to querymen version 2.1.4 or later to mitigate the risk. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for querymen →

Share this vulnerability

FAQ

Prototype Pollution is a vulnerability that occurs when an attacker can modify the prototype of an object, leading to unexpected behavior or security issues.

An attacker can exploit this vulnerability by manipulating the object properties passed to the querymen handler function, introducing malicious code and potentially compromising the application.

There are no known public exploits for this vulnerability at the moment.

No, only versions prior to 2.1.4 are affected. It is recommended to upgrade to the latest version to ensure the vulnerability is patched.

Yes, the CVSS score for this vulnerability is 5.3, indicating a moderate severity.

Related vulnerabilities

Recent vulnerabilities recorded for querymen.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 2.1.4 as of 22 Oct 2026

npm install querymen@2.1.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