Prototype Pollution
Description
The package bodymen from 0.0.0 are vulnerable to Prototype Pollution via the handler function which could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload. Note: This vulnerability derives from an incomplete fix to CVE-2019-10792
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
bodymen versions before 1.0.1 are vulnerable to Prototype Pollution via the handler function, allowing an attacker to pollute Object.prototype using a __proto__ payload.
Vulnerability
The package bodymen from version 0.0.0 is vulnerable to Prototype Pollution via the handler function. The vulnerability can be exploited by crafting a request with a __proto__ payload that modifies properties of Object.prototype. This vulnerability is an incomplete fix to CVE-2019-10792 [1][2]. All versions prior to the fix are affected [1].
Exploitation
An attacker can send a malicious JSON payload containing __proto__ keys to the bodymen middleware during request processing. The handler function does not properly sanitize or validate nested properties, allowing the attacker to add or alter properties on Object.prototype [2]. This can be done without authentication if the endpoint is publicly accessible [1].
Impact
Successful exploitation leads to Prototype Pollution, enabling the attacker to inject properties that are inherited by all JavaScript objects in the application. This can cause denial of service through JavaScript exceptions, or alter application logic leading to remote code execution in some contexts [2].
Mitigation
A fix was released in version 1.0.1 of bodymen. Users should upgrade to version 1.0.1 or later to mitigate this vulnerability [1]. The Snyk advisory notes that the fix addresses the incomplete patching of CVE-2019-10792 [1][2]. No workarounds are documented; upgrading is the recommended action.
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 |
|---|---|---|
bodymennpm | >= 0.0.0 | — |
Affected products
3- bodymen/bodymendescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-vhxc-fhm5-qcp9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25296ghsaADVISORY
- snyk.io/vuln/SNYK-JS-BODYMEN-2342623ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.