CVE-2025-57347

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…

Critical · published September 24, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
44.5
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in the 'dagre-d3-es' package lets attackers insert malicious values into the JavaScript prototype chain! 🔥 Think of it like a restaurant where the chef accepts orders without checking the ingredients — one bad order can change the entire recipe for every dish served after. This flaw can let bad actors mess with core parts of your application, leading to unexpected and chaotic results! If exploited, this vulnerability could allow unauthorized changes to the JavaScript Object's prototype, possibly leading to denial of service, erratic application behavior, or even execution of arbitrary code. Essentially, an attacker could make your application act in wild and unpredictable ways — think of it as a recipe gone terribly wrong!

Put simply

Think of it like a restaurant where the chef accepts orders without checking the ingredients — one bad order can change the entire recipe for every dish served after. This flaw can let bad actors mess with core parts of your application, leading to unexpected and chaotic results! This prototype pollution vulnerability in the 'dagre-d3-es' package occurs due to improper sanitization of user input in the addConflict function, allowing attackers to inject harmful values like '__proto__'.

What to do

If exploited, this vulnerability could allow unauthorized changes to the JavaScript Object's prototype, possibly leading to denial of service, erratic application behavior, or even execution of arbitrary code. Essentially, an attacker could make your application act in wild and unpredictable ways — think of it as a recipe gone terribly wrong! To safeguard against this, upgrade the 'dagre-d3-es' package to version 7.0.11 or later as soon as possible. Regularly audit your dependencies to ensure they are secure and monitor your application for any signs of unexpected behavior. You've got this! With these steps, you can protect your application from this critical threat and ensure your code remains robust. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00538 · 44.5th percentile
Published
2025-09-24T00:00Z
EPSS history
Timeline
  • 24 SEP 00:00Z
    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…
    cvelistv5