CVE-2019-10792: 
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2019-10792) affects the bodymen package, versions <1.1.1. Bodymen is a Body parser middleware for MongoDB, Express and Nodejs. The vulnerability was published and disclosed on February 17, 2020, and was discovered by JHU System Security Lab (Snyk Report).

Technical details

This is a Prototype Pollution vulnerability where the handler function could be tricked into adding or modifying properties of Object.prototype using a proto payload. The vulnerability has a CVSS v3.1 base score of 6.3 (Medium), with the vector string Network/Low/Low/None/Unchanged/Low/Low/Low (Snyk Report).

Impact

The vulnerability can lead to several types of attacks: Denial of Service (DoS) through manipulation of generic functions like toString and valueOf, potential Remote Code Execution if the codebase evaluates and executes specific attributes, and Property Injection where attackers can pollute properties used for security checks like privileges (Snyk Report).

Exploitability

The vulnerability has a proof-of-concept exploit available. According to the EPSS model, it has a 0.1% (43rd percentile) probability of exploitation in the wild (Snyk Report).

Mitigation and workarounds

The vulnerability can be fixed by upgrading bodymen to version 1.1.1 or higher. Additional preventive measures include freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, avoiding unsafe recursive merge functions, and considering the use of objects without prototypes or using Map instead of Object (Snyk Report).

Additional resources


Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-w2vw-w76x-qr89HIGH8.5
  • JavaScript logoJavaScript
  • nx
NoYesOct 05, 2026
CVE-2026-104852HIGH8.2
  • JavaScript logoJavaScript
  • @graphql-tools/utils
NoYesOct 05, 2026
GHSA-g7fw-3gjp-g5hfMEDIUM6.5
  • JavaScript logoJavaScript
  • @openclaw/matrix
NoYesOct 05, 2026
GHSA-r4xh-jqrq-34v2MEDIUM5.3
  • JavaScript logoJavaScript
  • smol-toml
NoYesOct 05, 2026
GHSA-6688-9rhm-gjv2LOWN/A
  • JavaScript logoJavaScript
  • dompurify
NoYesOct 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management