---
id: CVE-2025-66648
title: >-
  vega-functions provides function implementations for the Vega expression
  language
summary: >-
  vega-functions provides function implementations for the Vega expression
  language. Prior to version 6.1.1, for sites that allow users to supply
  untrusted user input, malicious use of an internal function (not part of the
  public API) coul…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: vega-functions_project
product: vega-functions
affected:
  - vega-functions < 6.1.1
patched:
  - vega-functions 6.1.1
published: '2026-01-05'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:10:00.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66648'
references:
  - url: 'https://github.com/vega/vega/security/advisories/GHSA-m9rg-mr6g-75gm'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00226
epssPercentile: 0.12305
ingestedAt: '2026-10-14T19:49:57.555Z'
---

## Overview

vega-functions provides function implementations for the Vega expression language. Prior to version 6.1.1, for sites that allow users to supply untrusted user input, malicious use of an internal function (not part of the public API) could be used to run unintentional javascript (XSS). This issue is fixed in vega-functions `6.1.1`. There is no workaround besides upgrading. Using `vega.expressionInterpreter` as described in CSP safe mode does not prevent this issue.

## Affected

- `vega-functions < 6.1.1`

## Remediation

Upgrade past the affected range:

- `vega-functions 6.1.1`
