{"id":"CVE-2021-23460","aliases":["GHSA-2m53-83f3-562j"],"url":"https://o3.security/vulnerability/CVE-2021-23460","summary":"Prototype pollution in min-dash","details":"### Impact\n\nThe `set` method is vulnerable to prototype pollution with specially crafted inputs.\n\n```javascript\n// insert the following into poc.js and run node poc,js (after installing the package)\n \nlet parser = require(\"min-dash\");\nparser.set({}, [[\"__proto__\"], \"polluted\"], \"success\");\nconsole.log(polluted);\n```\n\n### Patches\n\n`min-dash>=3.8.1` fix the issue.\n\n### Workarounds\n\nNo workarounds exist for the issue.\n\n### References\n\nClosed via https://github.com/bpmn-io/min-dash/pull/21.\n\n### Credits\n\nCredits to Cristian-Alexandru STAICU who found the vulnerability and to Idan Digmi from the Snyk Security Team who reported the vulnerability to us, responsibly.","published":"2022-01-21T20:15:07.903Z","modified":"2026-07-08T23:58:50.293835Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.02251,"percentile":0.814,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Maven","name":"org.webjars.npm:min-dash","fixedVersion":"3.8.1"},{"ecosystem":"npm","name":"min-dash","fixedVersion":"3.8.1"}],"fix":{"url":"https://github.com/bpmn-io/min-dash/pull/21","label":"bpmn-io/min-dash#21"},"references":[{"type":"ADVISORY","url":"https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js%23L32"},{"type":"FIX","url":"https://github.com/bpmn-io/min-dash/pull/21"},{"type":"FIX","url":"https://github.com/bpmn-io/min-dash/pull/21/commits/5ab05cbc4fd8d5eafb7db540c491ed0906b9d320"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2342127"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-MINDASH-2340605"},{"type":"WEB","url":"https://github.com/bpmn-io/min-dash/security/advisories/GHSA-2m53-83f3-562j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23460"},{"type":"WEB","url":"https://github.com/bpmn-io/min-dash/commit/2c6689e2aa29f4b66a4874a2f3003431e9db48d1"},{"type":"PACKAGE","url":"https://github.com/bpmn-io/min-dash"},{"type":"WEB","url":"https://github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js#L32"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:58:50.293835Z"}}