Skip to content
Heist/ feed
Back to feed
CriticalFix available

vega.js — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-65110

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. Prior to versions 6.1.2 and 5.6.3, applications meeting two conditions are at risk of arbitrary JavaScript code execution, even if "safe mode" expressionInterpreter is used. First, they use `vega` in an application that attaches both `vega` library and a `vega.View` instance similar to the Vega Editor to the global `window`, or has any other satisfactory function gadgets in the global scope. Second, they allow user-defined Vega `JSON` definitions (vs JSON that was is only provided through source code). This vulnerability allows for DOM XSS, potentially stored, potentially reflected, depending on how the library is being used. The vulnerability requires user interaction with the page to trigger. An attacker can exploit this issue by tricking a user into opening a malicious Vega specification. Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the application’s domain. This can lead to theft of sensitive information such as authentication tokens, manipulation of data displayed to the user, or execution of unauthorized actions on behalf of the victim. This exploit compromises confidentiality and integrity of impacted applications.Patched versions are available in `vega-selections@6.1.2` (requires ESM) for Vega v6 and `vega-selections@5.6.3` (no ESM needed) for Vega v5. As a workaround, do not attach `vega` or `vega.

Products
vega.js
Affected versions
5.22.1+ds+~3.1.0-4, 5.25.0+ds+~cs5.3.0-1, 5.25.0+ds+~cs5.3.0-2, 5.25.0+ds+~cs5.3.0-3, 5.25.0+ds+~cs5.3.0-4, 5.25.0+ds+~cs5.3.0-5, 5.28.0+ds+~cs5.3.0-1, 5.28.0+ds+~cs5.3.0-2, 5.28.0+ds+~cs5.3.0-3, 5.33.1+ds+~cs5.3.0-1, 5.33.1+ds+~cs5.3.0-2, 5.33.1+ds+~cs5.3.0-3, 5.33.1+ds+~cs5.3.0-4
Fixed versions
5.33.1+ds+~cs5.3.0-4
CVEs
CVE-2025-65110
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:51 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-65110

core-osv · Original source

Published 5 Jan 2026, 22:15 UTC

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. Prior to versions 6.1.2 and 5.6.3, applications meeting two conditions are at risk of arbitrary JavaScript code execution, even if "safe mode" expressionInterpreter is used. First, they use `vega` in an application that attaches both `vega` library and a `vega.View` instance similar to the Vega Editor to the global `window`, or has any other satisfactory function gadgets in the global scope. Second, they allow user-defined Vega `JSON` definitions (vs JSON that was is only provided through source code). This vulnerability allows for DOM XSS, potentially stored, potentially reflected, depending on how the library is being used. The vulnerability requires user interaction with the page to trigger. An attacker can exploit this issue by tricking a user into opening a malicious Vega specification. Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the application’s domain. This can lead to theft of sensitive information such as authentication tokens, manipulation of data displayed to the user, or execution of unauthorized actions on behalf of the victim. This exploit compromises confidentiality and integrity of impacted applications.Patched versions are available in `vega-selections@6.1.2` (requires ESM) for Vega v6 and `vega-selections@5.6.3` (no ESM needed) for Vega v5. As a workaround, do not attach `vega` or `vega.

osv:DEBIAN-CVE-2025-65110

vega.js

Fixed versions: Not specified

vega.js

Fixed versions: Not specified

vega.js

Fixed versions: 5.33.1+ds+~cs5.3.0-4

Complete source record
{
  "id": "5c209a24ee4b697904d0881f35ede8807cad6faec8703a6a0ca5b65fe3266093",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-65110",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-65110",
    "summary": "Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. Prior to versions 6.1.2 and 5.6.3, applications meeting two conditions are at risk of arbitrary JavaScript code execution, even if \"safe mode\" expressionInterpreter is used. First, they use `vega` in an application that attaches both `vega` library and a `vega.View` instance similar to the Vega Editor to the global `window`, or has any other satisfactory function gadgets in the global scope. Second, they allow user-defined Vega `JSON` definitions (vs JSON that was is only provided through source code). This vulnerability allows for DOM XSS, potentially stored, potentially reflected, depending on how the library is being used. The vulnerability requires user interaction with the page to trigger. An attacker can exploit this issue by tricking a user into opening a malicious Vega specification. Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the application’s domain. This can lead to theft of sensitive information such as authentication tokens, manipulation of data displayed to the user, or execution of unauthorized actions on behalf of the victim. This exploit compromises confidentiality and integrity of impacted applications.Patched versions are available in `vega-selections@6.1.2` (requires ESM) for Vega v6 and `vega-selections@5.6.3` (no ESM needed) for Vega v5. As a workaround, do not attach `vega` or `vega.",
    "evidence": "osv:DEBIAN-CVE-2025-65110",
    "products": [
      {
        "name": {
          "value": "vega.js",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.22.1+ds+~3.1.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.25.0+ds+~cs5.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.25.0+ds+~cs5.3.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.25.0+ds+~cs5.3.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.25.0+ds+~cs5.3.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.25.0+ds+~cs5.3.0-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "vega.js",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.28.0+ds+~cs5.3.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "vega.js",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.33.1+ds+~cs5.3.0-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "5.28.0+ds+~cs5.3.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.28.0+ds+~cs5.3.0-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.33.1+ds+~cs5.3.0-3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2025-65110",
      "aliases": [
        "DEBIAN-CVE-2025-65110"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "vega.js",
            "purl": "pkg:deb/debian/vega.js?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "5.22.1+ds+~3.1.0-4",
            "5.25.0+ds+~cs5.3.0-1",
            "5.25.0+ds+~cs5.3.0-2",
            "5.25.0+ds+~cs5.3.0-3",
            "5.25.0+ds+~cs5.3.0-4",
            "5.25.0+ds+~cs5.3.0-5",
            "5.28.0+ds+~cs5.3.0-1",
            "5.28.0+ds+~cs5.3.0-2",
            "5.28.0+ds+~cs5.3.0-3",
            "5.33.1+ds+~cs5.3.0-1",
            "5.33.1+ds+~cs5.3.0-2",
            "5.33.1+ds+~cs5.3.0-3",
            "5.33.1+ds+~cs5.3.0-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65110.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "vega.js",
            "purl": "pkg:deb/debian/vega.js?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "5.28.0+ds+~cs5.3.0-1",
            "5.28.0+ds+~cs5.3.0-2",
            "5.28.0+ds+~cs5.3.0-3",
            "5.33.1+ds+~cs5.3.0-1",
            "5.33.1+ds+~cs5.3.0-2",
            "5.33.1+ds+~cs5.3.0-3",
            "5.33.1+ds+~cs5.3.0-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65110.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.33.1+ds+~cs5.3.0-4"
                }
              ]
            }
          ],
          "package": {
            "name": "vega.js",
            "purl": "pkg:deb/debian/vega.js?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "5.28.0+ds+~cs5.3.0-1",
            "5.28.0+ds+~cs5.3.0-2",
            "5.28.0+ds+~cs5.3.0-3",
            "5.33.1+ds+~cs5.3.0-1",
            "5.33.1+ds+~cs5.3.0-2",
            "5.33.1+ds+~cs5.3.0-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65110.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:42.104114009Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-65110"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-65110"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-65110",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 328412,
  "published_at": "2026-01-05T22:15:51.07+00:00"
}