CVE-2022-25296: Prototype Pollution in bodymen

bodymen Updated 02 Oct 2025

Summary

18/03/2022
No i
Moderate
6.3

CVE-2022-25296: Prototype Pollution in bodymen. Affects bodymen versions >= 0.0.0. No fix is published. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The bodymen package is an npm package that provides a middleware for parsing and validating request bodies in Node.js applications. It is commonly used to handle HTTP requests and extract data from the request body. The package allows developers to define schemas for request bodies and automatically validates and parses incoming data based on these schemas. However, versions 0.0.0 of bodymen are vulnerable to Prototype Pollution.

Vulnerability Detail

Prototype Pollution is a vulnerability that occurs when an attacker can modify the prototype of an object and introduce malicious properties or modify existing ones. In the case of bodymen, the vulnerability stems from an incomplete fix to a previous vulnerability (CVE-2019-10792). The handler function in bodymen can be tricked into adding or modifying properties of Object.prototype using a proto payload. This can lead to various security issues, such as remote code execution, denial of service, or data manipulation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update the bodymen package to a fixed version as soon as possible.

Conclusion

The bodymen package in versions 0.0.0 is vulnerable to Prototype Pollution, which can have severe security implications. It is crucial to update the package to a fixed version as soon as possible to mitigate the risk of exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for bodymen →

Share this vulnerability

FAQ

Prototype Pollution is a vulnerability that allows an attacker to modify the prototype of an object and introduce malicious properties or modify existing ones.

The bodymen package provides a middleware for parsing and validating request bodies in Node.js applications. It allows developers to define schemas for request bodies and automatically validates and parses incoming data based on these schemas.

The impact of this vulnerability can vary depending on the specific application using the bodymen package. However, it can potentially lead to remote code execution, denial of service, or data manipulation.

Yes, it is recommended to update the bodymen package to a version that includes a complete fix for the Prototype Pollution issue.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Related vulnerabilities

Recent vulnerabilities recorded for bodymen.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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