---
id: CVE-2024-21529
title: >-
  Versions of the package dset before 3.1.4 are vulnerable to Prototype
  Pollution via the dset function due improper user input sanitization
summary: >-
  Versions of the package dset before 3.1.4 are vulnerable to Prototype
  Pollution via the dset function due improper user input sanitization. This
  vulnerability allows the attacker to inject malicious object property using
  the built-in Obj…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'
cwe:
  - CWE-1321
published: '2024-09-11'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-21529'
references:
  - url: >-
      https://github.com/lukeed/dset/commit/16d6154e085bef01e99f01330e5a421a7f098afa
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7981555'
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JS-DSET-7116691'
    label: report@snyk.io
tags:
  - nvd
epss: 0.00751
epssPercentile: 0.53049
ingestedAt: '2026-07-14T16:37:20.335Z'
---

## Overview

Versions of the package dset before 3.1.4 are vulnerable to Prototype Pollution via the dset function due improper user input sanitization. This vulnerability allows the attacker to inject malicious object property using the built-in Object property __proto__, which is recursively assigned to all the objects in the program.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
