CVE-2022-25645
HIGH 8.1CVSS 3.1Prototype Pollution in dset
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.
- Published
- 1 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-23wx-cgxq-vpwx
- Sources
- NVDJSONOSV GHSA-23wx-cgxq-vpwxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dset_project | dsetcpe:2.3:a:dset_project:dset:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | dset | < 3.1.2 | 3.1.2 |
| OSV | Maven | org.webjars.npm:dset | < 3.1.2 | 3.1.2 |
References
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9 · Broken Link, WEB
- https://github.com/lukeed/dset/pull/38
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-DSET-2330881 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25645 · ADVISORY
- https://github.com/lukeed/dset · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 May 2022)