CVE-2025-57347: dagre-d3-es - Prototype Pollution
- Cve: CVE-2025-57347
- Name: dagre-d3-es - Prototype Pollution
- Description: A vulnerability exists in the 'dagre-d3-es' Node.js package version 7.0.9, specifically within the 'bk' module's addConflict function, which fails to properly sanitize user-supplied input during property assignment operations. This flaw allows attackers to exploit prototype pollution vulnerabilities by injecting malicious input values (e.g., "__proto__"), enabling unauthorized modification of the JavaScript Object prototype chain. Successful exploitation could lead to denial of service conditions, unexpected application behavior, or potential execution of arbitrary code in contexts where polluted properties are later accessed or executed. The issue affects versions prior to 7.0.11 and remains unpatched at the time of disclosure.
- Impact: Attackers can modify the prototype chain, causing denial of service, unexpected behavior, or potential code execution.
- Remediation: Update to version 7.0.11 or later.
- Vulnerability type: prototype_pollution
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00538
- Epss percentile: 0.46193
- Assignee: [email protected]
- Published at: 2025-09-24T19:15:39Z
- Age in days: 426
- Modified at: 2026-06-17T09:43:02Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-57347
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57347 | nvd | Third Party Advisory |
| https://github.com/tbo47/dagre-es/issues/52 | nvd | Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tbo47:dagre-d3-es | = 7.0.9 | no | nvd | /v1/products/tbo47/dagre-d3-es |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tbo47/dagre-es | issues | yes | /v1/repositories/tbo47/dagre-es |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts