CVE-2025-65110CWE-79cross-site-scripting

CVE-2025-65110

High · published January 6, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

⚡ A sneaky configuration flaw in Vega could let attackers execute arbitrary JavaScript just by tricking a user! 🚨 Watch out if you're using vega versions prior to 6.1.2 or 5.6.3. Think of it like a restaurant that lets customers write their own recipes and hand them to the chef without checking for safety. If the chef cooks up a malicious dish, it could poison everyone at the table! 🍽️ If exploited, an attacker could run any JavaScript code in the context of your application, leading to a potential theft of sensitive information like authentication tokens or altering what your users see. This not only compromises user trust but could also lead to unauthorized actions being taken on their behalf. Absolutely devastating!

Put simply

Think of it like a restaurant that lets customers write their own recipes and hand them to the chef without checking for safety. If the chef cooks up a malicious dish, it could poison everyone at the table! 🍽️ This vulnerability arises when applications expose the `vega` library to the global scope while allowing user-defined JSON definitions. This setup enables attackers to inject malicious JavaScript into the DOM, exploiting the application’s trust in user input.

What to do

If exploited, an attacker could run any JavaScript code in the context of your application, leading to a potential theft of sensitive information like authentication tokens or altering what your users see. This not only compromises user trust but could also lead to unauthorized actions being taken on their behalf. Absolutely devastating! To protect your application, upgrade to `[email protected]` for ESM support or `[email protected]` for non-ESM. Additionally, avoid attaching any `vega` or `vega.View` instances to global variables as a best practice. Always ensure user inputs are sanitized! You've got this! With these steps, you can secure your application and keep your users safe! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00504 · 42.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-06T03:15Z
Affected products (2)
ProductVersionsFixed in
vega_project/vega< 5.6.35.6.3
vega_project/vega≥ 6.0.0, < 6.1.26.1.2
References (2)
EPSS history
Timeline
  • 05 JAN 21:22Z
    Vega Cross-Site Scripting (XSS) via expression abusing vlSelectionTuples function array map calls in environments with satisfactory function gadgets in the global scope
    cvelistv5