Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-57347
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:24 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-57347
Complete source record
{
"id": "4c58ff64b5dae5a85ffe1cdf334f5b08c498310a064c08096ee8e4e86413d2d3",
"url": "https://osv.dev/vulnerability/CVE-2025-57347",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-57347",
"summary": "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.",
"evidence": "osv:CVE-2025-57347",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-57347",
"aliases": [
"CVE-2025-57347"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tbo47/dagre-es",
"type": "GIT",
"events": [
{
"introduced": "0af9543a09c486a7e2591ee7db60302e433a19d4"
},
{
"fixed": "e20dc062e6886d06fced07e24ed73917b2ccb65e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.0.11"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:tbo47:dagre-d3-es:7.0.9:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "7.0.9"
},
{
"last_affected": "7.0.9"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"7.0.9",
"7.0.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57347.json"
}
}
],
"modified": "2026-10-28T02:30:48.853817109Z",
"provider": "osv",
"references": [
"https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57347",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57347.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-57347",
"https://github.com/tbo47/dagre-es/issues/52"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57347.json"
}
},
"related_cves": [
{
"value": "CVE-2025-57347",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516961,
"published_at": "2025-09-24T00:00:00+00:00"
}