CVE-2020-8116: dot-prop Prototype Pollution vulnerability

dot-prop Updated 02 Oct 2025

Summary

29/07/2020
Yes i
High
7.3

CVE-2020-8116: dot-prop Prototype Pollution vulnerability. Affects dot-prop across 2 version ranges.

< 4.2.1 >= 5.0.0, < 5.1.1

Fixed in 4.2.1 or 5.1.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-8116 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

dot-prop is an npm package that provides utility functions for working with nested properties in JavaScript objects. It allows developers to access and manipulate nested properties using dot notation. The package is widely used in JavaScript projects and is part of the npm ecosystem.

Vulnerability Detail

The dot-prop npm package versions before 4.2.1 and versions 5.x before 5.1.1 are vulnerable to Prototype Pollution. This vulnerability allows an attacker to add arbitrary properties to JavaScript language constructs such as objects. By manipulating the prototype chain, an attacker can modify or add properties to objects, potentially leading to unauthorized access, data tampering, or remote code execution.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.2.1 4.2.1
    npm install dot-prop@4.2.1
  • >= 5.0.0, < 5.1.1 5.1.1
    npm install dot-prop@5.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update the dot-prop package to the latest version as soon as possible.

Conclusion

The dot-prop Prototype Pollution vulnerability is a high-severity issue that allows an attacker to add arbitrary properties to JavaScript objects. To mitigate this vulnerability, it is crucial to update the dot-prop package to the latest version. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for dot-prop →

Share this vulnerability

FAQ

dot-prop is an npm package that provides utility functions for working with nested properties in JavaScript objects. It allows developers to access and manipulate nested properties using dot notation.

Prototype Pollution is a vulnerability that allows an attacker to modify or add properties to JavaScript objects by manipulating the prototype chain. This can lead to unauthorized access, data tampering, or remote code execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software using package-lock.json.

The CVSS score of this vulnerability is 7.3, indicating a high severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.2.1 4.2.1
    npm install dot-prop@4.2.1
  • >= 5.0.0, < 5.1.1 5.1.1
    npm install dot-prop@5.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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