CVE-2020-28281: Prototype pollution in set-object-value

set-object-value Updated 02 Oct 2025

Summary

13/04/2021
Yes i
Critical
9.8

CVE-2020-28281: Prototype pollution in set-object-value. Affects set-object-value versions < 0.0.6. Fixed in 0.0.6. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The 'set-object-value' package is an npm package that provides functionality for setting values in JavaScript objects. It is widely used in various applications and libraries. However, versions 0.0.0 through 0.0.5 of the package are vulnerable to prototype pollution.

Vulnerability Detail

The vulnerability in 'set-object-value' allows an attacker to perform prototype pollution, leading to a denial of service and potential remote code execution. By manipulating the prototype of an object, an attacker can modify or add properties to all objects derived from that prototype, potentially causing unexpected behavior or even executing arbitrary code.

How To Fix

Minimum fixed version

0.0.6

This is the first release that contains the fix.

npm install set-object-value@0.0.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

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

Conclusion

The 'set-object-value' package versions 0.0.0 through 0.0.5 are vulnerable to prototype pollution, which can result in a denial of service and potential remote code execution. It is crucial to update to version 0.0.6 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for set-object-value →

Share this vulnerability

FAQ

Prototype pollution is a vulnerability that occurs when an attacker can modify the prototype of an object, leading to unexpected behavior or code execution.

The vulnerability can result in a denial of service and may allow an attacker to execute arbitrary code remotely.

Versions 0.0.0 through 0.0.5 of 'set-object-value' are affected by this vulnerability.

Yes, upgrading to version 0.0.6 or later of 'set-object-value' fixes the vulnerability.

No, updating to the fixed version is the only known solution.

How To Fix

Minimum fixed version

0.0.6

This is the first release that contains the fix.

npm install set-object-value@0.0.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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