CVE-2025-27793
Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
EPSS 0.47%
Description
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.
How to fix CVE-2025-27793
To remediate CVE-2025-27793, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 5.32.0 or later
- —upgrade to 5.17.0 or later
Is CVE-2025-27793 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 5.32.0
- from 0, < 5.17.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |