{"id":"CVE-2021-23507","aliases":["CVE-2021-23507","GHSA-h6pr-c536-6rjg","SNYK-JS-OBJECTPATHSET-2388576"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908","source":"cvelist"},{"lang":"es","text":"El paquete object-path-set versiones anteriores a 1.0.2, es vulnerable a una Contaminación de Prototipos por medio del método setPath, ya que permite a un atacante fusionar prototipos de objetos en él. *Nota:* Esta vulnerabilidad deriva de una corrección incompleta en https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908","source":"nvd"}],"published":"2022-02-04T20:05:18.907Z","modified":"2026-07-08T06:50:03.258Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.0.2","status":"affected"}],"product":"object-path-set","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.2"}],"ecosystem":"npm","package":"object-path-set","purl":"pkg:npm/object-path-set","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.2"}],"vendor":"skratchdot","product":"object-path-set","cpe":"cpe:2.3:a:skratchdot:object-path-set:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23507","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/skratchdot/object-path-set","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation","tags":["web"],"sources":["ghsa"]}],"credits":["P.Adithya Srinivas","Masudul Hasan Masud Bhuiyan","Cristian-Alexandru Staicu","Alessio Della Libera"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23507","url":"https://www.cve.org/CVERecord?id=CVE-2021-23507","licence":"CVE Terms of Use","modified":"2024-09-17T03:54:51.495Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h6pr-c536-6rjg","url":"https://github.com/advisories/GHSA-h6pr-c536-6rjg","licence":"CC-BY-4.0","modified":"2026-07-08T06:50:03.258Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23507","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23507","licence":"Public domain","modified":"2026-06-17T03:38:48.410Z"}],"updatedAt":"2026-11-25T22:58:06.772Z","epss":{"score":0.02195,"percentile":0.82994,"date":"2026-12-01T12:00:22.000Z"}}