CVE-2022-25645

high

Description

All versions of package dset are vulnerable to Prototype Pollution via 'dset/merge' mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or protorype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

References

https://snyk.io/vuln/SNYK-JS-DSET-2330881

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974

https://github.com/lukeed/dset/pull/38

https://github.com/lukeed/dset/blob/master/src/merge.js%23L9

Details

Source: Mitre, NVD

Published: 2022-05-01

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.1

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

Severity: High

EPSS

EPSS: 0.00032