Prototype Pollution
Description
All versions of querymen are vulnerable to prototype pollution via the handler function parameters, an incomplete fix of CVE-2020-7600.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
All versions of querymen are vulnerable to prototype pollution via the handler function parameters, an incomplete fix of CVE-2020-7600.
All versions of the querymen npm package are vulnerable to prototype pollution [1]. The vulnerability exists in the exported function handler(type, name, fn) where the parameters can be controlled by users without sanitization, allowing manipulation of JavaScript object prototypes [2]. This is an incomplete fix of CVE-2020-7600 [1].
An attacker can exploit this by passing crafted input to the handler function, specifically controlling the 'name' or 'fn' parameters to inject properties like __proto__ or constructor [2]. No authentication is required if the function is exposed to user input. The attack surface depends on how the package is integrated—typical usage in web applications processing user queries could allow remote exploitation [2].
Successful prototype pollution can lead to denial of service via JavaScript exceptions, or more critically, tampering with application logic to force code paths that may result in remote code execution [2]. The impact is limited by the application's use of the polluted properties, but can be severe if the application relies on object properties for security decisions.
As of this writing, no patched version of querymen has been released, leaving all versions vulnerable [1]. Users should avoid passing unsanitized user input to the handler function or consider replacing the package if possible. The vulnerability is tracked in the Snyk database and NVD [1,2].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
querymennpm | <= 2.1.4 | — |
Affected products
2- querymen/querymendescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-p23c-p8w2-ww5vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25871ghsaADVISORY
- snyk.io/vuln/SNYK-JS-QUERYMEN-2391488ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.