{"id":"CVE-2022-25645","aliases":["CVE-2022-25645","GHSA-23wx-cgxq-vpwx"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete dset son vulnerables a una Contaminación de Prototipos por medio del modo \"dset/merge\", ya que la función dset comprueba la contaminación de prototipos al comprobar si la ruta de nivel superior contiene __proto__, constructor o protorype. Si es diseñado un objeto malicioso, es posible omitir esta comprobación y conseguir una contaminación de prototipos","source":"nvd"}],"published":"2022-05-01T15:30:39.915Z","modified":"2026-06-17T04:33:49.683Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"dset","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.2"}],"ecosystem":"npm","package":"dset","purl":"pkg:npm/dset","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.1.2"}],"ecosystem":"Maven","package":"org.webjars.npm:dset","purl":"pkg:maven/org.webjars.npm/dset","source":"ghsa"},{"ranges":[],"vendor":"dset_project","product":"dset","cpe":"cpe:2.3:a:dset_project:dset:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DSET-2330881","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/lukeed/dset/blob/master/src/merge.js%23L9","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/lukeed/dset/pull/38","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25645","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lukeed/dset","tags":["package"],"sources":["ghsa"]}],"credits":["Oscar Arnflo"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25645","url":"https://www.cve.org/CVERecord?id=CVE-2022-25645","licence":"CVE Terms of Use","modified":"2024-09-17T03:28:40.013Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-23wx-cgxq-vpwx","url":"https://github.com/advisories/GHSA-23wx-cgxq-vpwx","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:47.532Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25645","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25645","licence":"Public domain","modified":"2026-06-17T04:33:49.683Z"}],"updatedAt":"2026-11-25T22:58:11.325Z","epss":{"score":0.0184,"percentile":0.79632,"date":"2026-12-02T12:00:21.000Z"}}