CVE-2025-27793
published medium CVSS 4.0 · 5.3Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vega | — | vega< 5.32.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vega | vega | < 5.32.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-87 CWE-87: Improper Neutralization of Alternate XSS Syntax
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
2GitHub_M · cna
Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3997fc280564b30f8c33cf86a0df5784772aed18348a12ef1293110cbeafc24d
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record