CVE-2025-27793
MEDIUM 5.3CVSS 4.0Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
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.
- Published
- 27 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79CWE-87
- Also known as
- GHSA-963h-3v39-3pqf
- Sources
- NVDJSONOSV GHSA-963h-3v39-3pqfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vega | < 5.32.0 | 5.32.0 |
| OSV | npm | vega-functions | < 5.17.0 | 5.17.0 |
References
- https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966 · WEB
- https://github.com/vega/vega/releases/tag/v5.32.0 · WEB
- https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf · WEB
- https://vega.github.io/vega/usage/interpreter · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27793 · ADVISORY
- https://github.com/vega/vega · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Mar 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Mar 2025)