npmWorst: High8 advisories
vega: known vulnerabilities
vega has 8 reviewed security advisories in the GitHub Advisory Database — 1 high, 6 moderate, 1 low. The most recent was published 2025-11-13. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the vega versions running across your servers, containers and images, and ranks what to patch first.
How to fix vega
Upgrade vega to a release at or above the fixed version shown for each advisory below. For npm:
npm install vega@6.2.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (8)
Vega Cross-Site Scripting (XSS) via expressions abusing toString calls in environments using the VEGA_DEBUG global variable
High 8.1 CWE-79
— Affected: before 6.2.0. Fixed in 6.2.0. Published 2025-11-13. GHSA-7f2v-3qq3-vvjf · CVE-2025-59840
Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
Moderate CWE-79 CWE-87
— Affected: before 5.32.0. Fixed in 5.32.0. Published 2025-03-27. GHSA-963h-3v39-3pqf · CVE-2025-27793
Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode expressionInterpeter
Moderate 6.1 CWE-79
— Affected: before 5.31.0. Fixed in 5.31.0. Published 2025-03-27. GHSA-rcw3-wmx7-cphr · CVE-2025-26619
Vega allows Cross-site Scripting via the vlSelectionTuples function
Moderate CWE-79
— Affected: before 5.26.0. Fixed in 5.26.0. Published 2025-02-14. GHSA-mp7w-mhcv-673j · CVE-2025-25304
Vega Expression Language `scale` expression function Cross Site Scripting
Moderate 6.1 CWE-79
— Affected: before 5.23.0. Fixed in 5.23.0. Published 2023-03-04. GHSA-4vq7-882g-wcg4 · CVE-2023-26486
Vega has Cross-site Scripting vulnerability in `lassoAppend` function
Moderate 6.1 CWE-79
— Affected: before 5.23.0. Fixed in 5.23.0. Published 2023-03-04. GHSA-w5m3-xh75-mp55 · CVE-2023-26487
Vega vulnerable to arbitrary code execution when clicking href links
Moderate
— Affected: before 4.5.1. Fixed in 4.5.1. Published 2023-03-02. GHSA-cp47-r258-q626
XSS in Vega
Low 8.7 CWE-79
— Affected: before 5.17.3. Fixed in 5.17.3. Published 2020-12-30. GHSA-r2qc-w64x-6j54 · CVE-2020-26296
Find vega across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.