CVE-2025-66580CWE-94

Dive has Cross-Site Scripting vulnerability that can escalate to Remote Code Execution

Critical · published December 19, 2025

CVSS v3.1
9.7
EPSS
1%
Percentile
46.5
In the wild
Unconfirmed
What it is

🚨 A critical Stored XSS vulnerability in the Mermaid diagram component of Dive could let attackers run arbitrary JavaScript, turning your node clicks into a license for chaos! 🔥 Think of it like a trusted friend sending you a beautifully wrapped gift, but inside is a sneaky trick that triggers a confetti explosion in your living room—completely out of your control! 🎉 If an attacker successfully exploits this flaw, they can inject malicious server configurations leading to Remote Code Execution (RCE) on the victim's machine! That means they could potentially take over your system, accessing sensitive data and executing harmful commands. The consequences could be absolutely devastating!

Put simply

Think of it like a trusted friend sending you a beautifully wrapped gift, but inside is a sneaky trick that triggers a confetti explosion in your living room—completely out of your control! 🎉 This vulnerability exists in the Mermaid diagram rendering component of Dive, where an attacker can exploit the `javascript:` execution method to run malicious code whenever a node is clicked. Versions prior to 0.11.1 are affected, making this a serious security risk.

What to do

If an attacker successfully exploits this flaw, they can inject malicious server configurations leading to Remote Code Execution (RCE) on the victim's machine! That means they could potentially take over your system, accessing sensitive data and executing harmful commands. The consequences could be absolutely devastating! Update to Dive version 0.11.1 immediately to patch this critical vulnerability. Also, review all configurations related to the Mermaid component to ensure no malicious code can slip through. Regular audits of your application's security are a smart move! You've got this! With these updates, you can secure your application and keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00570 · 46.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-12-19T16:37Z
EPSS history
Timeline
  • 19 DEC 16:37Z
    Dive has Cross-Site Scripting vulnerability that can escalate to Remote Code Execution
    cvelistv5