Skip to main content
← All vulnerabilities
CVE-2025-27793GHSA-963H-3V39-3PQF

Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.32.0, 5.17.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vega vega

    fixed in 5.32.0

  • veganpm

    fixed in 5.32.0

  • vega-functionsnpm

    fixed in 5.17.0

References 4

GitHub · vega/vega

vega.github.io