CVE-2020-28442: Prototype Pollution in js-data

js-data Updated 02 Oct 2025

Summary

09/02/2022
Yes i
Critical
9.8

CVE-2020-28442: Prototype Pollution in js-data. Affects js-data versions < 3.0.10. Fixed in 3.0.10. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

js-data is an npm package that provides a set of utilities for working with data in JavaScript applications. It offers features like data modeling, querying, and caching. The package is widely used in various projects and provides a convenient way to manage data. However, versions prior to 3.0.10 are vulnerable to Prototype Pollution through the deepFillIn function.

Vulnerability Detail

Prototype Pollution is a vulnerability that occurs when an attacker can modify the prototype of an object and inject malicious properties or methods. In the case of js-data, the deepFillIn function is susceptible to this type of attack. An attacker can craft a specially crafted payload that, when processed by the function, can modify the prototype of objects and introduce unexpected behavior or execute arbitrary code. This can lead to various security issues, including remote code execution, data manipulation, or denial of service.

How To Fix

Minimum fixed version

3.0.10

This is the first release that contains the fix.

npm install js-data@3.0.10

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 js-data package prior to version 3.0.10 is vulnerable to Prototype Pollution. This can have severe security implications, including remote code execution and data manipulation. It is crucial to update to the fixed version of the package (3.0.10 or later) to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for js-data →

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 methods.

js-data is an npm package that provides utilities for working with data in JavaScript applications. It offers features like data modeling, querying, and caching.

The impact of this vulnerability can vary depending on the attacker's intentions. It can lead to remote code execution, data manipulation, or denial of service.

To fix this vulnerability, update the js-data package to version 3.0.10 or later.

There is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for js-data.

How To Fix

Minimum fixed version

3.0.10

This is the first release that contains the fix.

npm install js-data@3.0.10

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