CVE-2025-27793CWE-79CWE-87

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

Medium · published March 27, 2025

CVSS v4.0
5.3
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
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
EPSS
0.00517 · 43.2th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-87 · Improper Neutralization of Alternate XSS Syntax
Published
2025-03-27T14:07Z
EPSS history
Timeline
  • 27 MAR 14:07Z
    Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
    cvelistv5