{"id":"CVE-2022-25645","aliases":["EUVD-2022-1897","GHSA-23wx-cgxq-vpwx","ROOT-APP-NPM-CVE-2022-25645"],"status":"published","title":"Prototype Pollution","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0184,"percentile":0.79135,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2022-05-01T15:30:39Z","modified":"2026-09-02T12:30:03Z","fixes":[{"ecosystem":"npm","package":"dset","fixed_in":["3.1.2"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.webjars.npm:dset","fixed_in":["3.1.2"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"dset","fixed_in":["3.1.2-aikido.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/dset","fixed_in":["3.1.2-root.io.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"dset","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.webjars.npm:dset","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}]},{"source":"osv","ecosystem":"npm","package":"dset","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.webjars.npm:dset","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2"}]}],"versions":["3.0.0","3.1.0","3.1.1"]},{"source":"osv","ecosystem":"Root:npm","package":"dset","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/dset","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-root.io.1"}]}]}],"products":[{"vendor":"dset_project","product":"dset"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DSET-2330881","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/lukeed/dset/blob/master/src/merge.js%23L9","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/lukeed/dset/pull/38","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25645","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-23wx-cgxq-vpwx"},{"url":"https://github.com/lukeed/dset","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25645","title":"Prototype Pollution","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.","status":"published","published":"2022-05-01T15:30:39.915Z","modified":"2024-09-17T03:28:40.013Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2022-1897","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.","status":"published","published":"2022-05-01T15:30:39Z","modified":"2024-09-17T03:28:40Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","level":"medium"}],"updated_at":"2026-11-03T00:28:31.175316Z"}],"ghsa":[{"id":"GHSA-23wx-cgxq-vpwx","title":"Prototype Pollution in dset","description":"All versions of `dset` prior to 3.1.2 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 `prototype`. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.","status":"published","published":"2022-05-03T00:00:45Z","modified":"2023-02-01T05:00:52Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:36:29.957996Z"}],"nvd":[{"id":"CVE-2022-25645","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.","status":"published","published":"2022-05-01T16:15:08.547Z","modified":"2026-06-17T04:33:49.683Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"GHSA-23wx-cgxq-vpwx","title":"Prototype Pollution in dset","description":"All versions of `dset` prior to 3.1.2 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 `prototype`. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.","status":"published","published":"2022-05-03T00:00:45Z","modified":"2023-11-08T04:08:47.532216Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:33.520522Z"},{"id":"ROOT-APP-NPM-CVE-2022-25645","title":"CVE-2022-25645 in dset - Patched by Root","description":"Root has patched CVE-2022-25645 in the dset package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-09-02T10:07:34Z","modified":"2026-09-02T12:30:03.015911774Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
