Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-data
  4. ›
  5. CVE-2021-23574

CVE-2021-23574: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

December 24, 2021 (updated January 12, 2022)

All versions of package js-data is vulnerable to Prototype Pollution via the deepFillIn and the set functions.

References

  • github.com/js-data/js-data/blob/master/dist/js-data.js%23L472
  • github.com/js-data/js-data/issues/576
  • github.com/js-data/js-data/issues/577
  • nvd.nist.gov/vuln/detail/CVE-2021-23574
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2320790
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2320791
  • snyk.io/vuln/SNYK-JS-JSDATA-1584361

Code Behaviors & Features

Detect and mitigate CVE-2021-23574 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.0.11

Fixed versions

  • 3.0.11

Solution

Upgrade to version 3.0.11 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/js-data/CVE-2021-23574.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.