{
  "cveId": "CVE-2025-59840",
  "url": "https://patchblox.com/security/cve/CVE-2025-59840",
  "summary": "CVE-2025-59840 is fixed in vega.js on 1 platform by DEBIAN-CVE-2025-59840 (version 5.33.1\u002Bds\u002B~cs5.3.0-4), released November 13, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "vega.js: Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization des...",
  "description": "Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 6.2.0, applications meeting 2 conditions are at risk of arbitrary JavaScript code execution, even if \u0022safe mode\u0022 expressionInterpreter is used. They are vulnerable if they use \u0060vega\u0060 in an application that attaches \u0060vega\u0060 library and a \u0060vega.View\u0060 instance similar to the Vega Editor to the global \u0060window\u0060 and if they allow user-defined Vega \u0060JSON\u0060 definitions (vs JSON that was is only provided through source code). Patches are available in the following Vega applications. If using the latest Vega line (6.x), upgrade to \u0060vega\u0060 \u00606.2.0\u0060 / \u0060vega-expression\u0060 \u00606.1.0\u0060 / \u0060vega-interpreter\u0060  \u00602.2.1\u0060 (if using AST evaluator mode). If using Vega in a non-ESM environment, upgrade to \u0060vega-expression\u0060 \u00605.2.1\u0060 / \u00601.2.1\u0060 (if using AST evaluator mode). Some workarounds are available. Do not attach \u0060vega\u0060 View instances to global variables, and do not attach \u0060vega\u0060 to the global window. These practices of attaching the vega library and View instances may be convenient for debugging, but should not be used in production or in any situation where vega/vega-lite definitions could be provided by untrusted parties.",
  "published": "2025-11-13T20:15:51Z",
  "severity": "high",
  "cvss": 8.1,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
  "epss": 0.00424,
  "epssPercentile": 0.3694,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "vega.js",
      "release": "Debian 14",
      "fixedVersion": "5.33.1\u002Bds\u002B~cs5.3.0-4",
      "fix": "DEBIAN-CVE-2025-59840",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-59840",
      "released": "2025-11-13T20:15:51Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}