CVE-2025-14896CWE-552

due to insufficient sanitazation in Vega’s `convert()` function when `safeMode` is enabled and the spec variable is an array

High · published December 18, 2025

CVSS v4.0
8.7
EPSS
0%
Percentile
20.5
In the wild
Unconfirmed
What it is

⚡ A crafty exploit lurks in Vega’s `convert()` function that can let attackers send requests to any URL, even local file paths! 🔥 Think of this vulnerability like a sneaky delivery person who’s given a passcode to access a restricted area and can now open any door, even those that lead to sensitive rooms. 🏢 If exploited, an attacker could access sensitive information stored on the local file system or any other URL the crafted diagram points to. This could lead to a significant breach of confidentiality and unauthorized data exposure.

Put simply

Think of this vulnerability like a sneaky delivery person who’s given a passcode to access a restricted area and can now open any door, even those that lead to sensitive rooms. 🏢 This vulnerability arises from insufficient sanitization in Vega's `convert()` function when `safeMode` is enabled, particularly with the `spec` variable being an array. An attacker can craft a malicious Vega diagram that manipulates this behavior, allowing arbitrary requests to be sent.

What to do

If exploited, an attacker could access sensitive information stored on the local file system or any other URL the crafted diagram points to. This could lead to a significant breach of confidentiality and unauthorized data exposure. To mitigate this risk, ensure that you update Vega to the latest version where this issue is patched. Additionally, review the handling of user inputs in the `convert()` function to enhance sanitization and validation. You've got this! With these steps, you’ll fortify your defenses and keep your data safe! 🛡️

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00291 · 20.5th percentile
Weakness
CWE-552 · Files or Directories Accessible to External Parties
Published
2025-12-18T16:20Z
EPSS history
Timeline
  • 18 DEC 16:20Z
    due to insufficient sanitazation in Vega’s `convert()` function when `safeMode` is enabled and the spec variable is an array
    cvelistv5