CVE-2025-27793 json
Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
published last yr. modified 4mo ago also EUVD-2025-14832 , GHSA-963h-3v39-3pqf
- cvss
- 5.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
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.
Patch / fix
- npm vega 5.32.0
- npm vega-functions 5.17.0
- vega_project vega 5.32.0
- vega-functions_project vega-functions 5.17.0
- vega_project vega-functions 5.17.0
- vega.js Debian 14 5.33.1+ds+~cs5.3.0-1
debian advisories DEBIAN-CVE-2025-27793
Is CVE-2025-27793 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-27793 updated cvss 5.4
vega: Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vega | <5.32.0 |
5.32.0 |
| npm | vega-functions | <5.17.0 |
5.17.0 |
Affected products
- vega vega
Classification
References
-
github.com
/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966
web
-
github.com
/vega/vega/security/advisories/GHSA-963h-3v39-3pqf
web
-
github.com
/vega/vega/releases/tag/v5.32.0
web
-
vega.github.io
/vega/usage/interpreter
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-27793
advisory
-
github.com
/vega/vega
package
Sources
- CVE List CVE-2025-27793
- GitHub Advisory GHSA-963h-3v39-3pqf
- NVD CVE-2025-27793
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.