Live threats

All CVEs / Vega-functions Project

CVE-2023-26486Vega-functions Project Vega-functions

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Mar 4, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. The Vega `scale` expression function has the ability to call arbitrary functions with a single controlled argument. The scale expression function passes a user supplied argument group to getScale, which is then used as if it were an internal context. The context.scales[name].value is accessed from group and called as a function back in scale. This can be exploited to escape the Vega expression sandbox in order to execute arbitrary JavaScript. This issue has been fixed in version 5.13.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vega-functions.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vega < 5.23.0 5.23.0 npm install vega@5.23.0
npm vega-functions < 5.13.1 5.13.1 npm install vega-functions@5.13.1

Per OSV / GitHub Advisories (GHSA-4vq7-882g-wcg4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vega-functions_projectvega-functions< 5.13.1
vega_projectvega< 5.23.0

Official sources

References

Links published by the sources. Open them with care.