# CVE-2025-26619: Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode `expressionInterpeter`

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-03-27T13:51:38.442Z
- Modified: 2026-09-10T03:50:23.273Z
- Also known as: GHSA-rcw3-wmx7-cphr
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In `vega` 5.30.0 and lower and in `vega-functions` 5.15.0 and lower , it was possible to call JavaScript functions from the Vega expression language that were not meant to be supported. The issue is patched in `vega` `5.31.0`  and `vega-functions` `5.16.0`. Some workarounds are available. Run `vega` without `vega.expressionInterpreter`. This mode is not the default as it is slower. Alternatively, using the interpreter described in CSP safe mode (Content Security Policy) prevents arbitrary Javascript from running, so users of this mode are not affected by this vulnerability.

(As written by CVE List.)

## Affected

- vega vega: < 5.31.0
- vega (npm): before 5.31.0
- vega-functions (npm): before 5.16.0
- vega-functions_project vega-functions: before 5.16.0
- vega_project vega: before 5.31.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/vega/vega/security/advisories/GHSA-rcw3-wmx7-cphr> (exploit, vendor-advisory, web)
- <https://github.com/vega/vega/issues/3984> (exploit, issue-tracking, web)
- <https://github.com/vega/vega-lite/issues/9469> (issue-tracking, web)
- <https://github.com/vega/vega/commit/8fc129a6f8a11e96449c4ac0f63de0e5bfc7254c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-26619> (advisory)
- <https://github.com/vega/vega> (package)

## Sources

- CVE List: [CVE-2025-26619](https://www.cve.org/CVERecord?id=CVE-2025-26619), CVE Terms of Use, modified 2025-03-27
- GitHub Advisory Database: [GHSA-rcw3-wmx7-cphr](https://github.com/advisories/GHSA-rcw3-wmx7-cphr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-26619](https://nvd.nist.gov/vuln/detail/CVE-2025-26619), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-26619 · Whole record: https://cve.day/CVE-2025-26619.json · Rebuilt by cve.day 2026-11-25T22:58:55.601Z
