CVE-2023-26486 json
Vega `scale` expression function cross site scripting
published 2023-03-02 3 y ago modified 2026-09-10 1 mo ago also GHSA-4vq7-882g-wcg4 , EUVD-2023-0871
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. The Vega `scale` expression function has the ability to call arbitrary functions with a single controlled argument. The scale expression function passes a user supplied argument group to getScale, which is then used as if it were an internal context. The context.scales[name].value is accessed from group and called as a function back in scale. This can be exploited to escape the Vega expression sandbox in order to execute arbitrary JavaScript. This issue has been fixed in version 5.13.1.
Patch / fix
- npm vega-functions 5.13.1
- npm vega 5.23.0
- vega-functions_project vega-functions 5.13.1
- vega_project vega 5.23.0
- vega.js Debian 14, Debian 13 5.25.0+ds+~cs5.3.0-1
debian advisories DEBIAN-CVE-2023-26486
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-26486 updated cvss 6.1
kibana: xss in custom visualizations
-
Red Hat JBoss Fuse 6 kibana kibana Red Hat JBoss Fuse Service Works 6 kibana kibana Red Hat OpenShift Container Platform 3.11 kibana, kibana kibana, openshift3/ose-logging-kibana5affected: no fix planned “Out of support scope”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/cluster-logging-rhel8-operatornot 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
- yes
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4 referenced PoC, tagged "exploit" by a source, unverified
- vega.github.io https://vega.github.io/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATJJhSoA2qHFIEcNCAAaAZT0ACAApsAwtJDEkAGwZwIaZQEYAujMwAnJOIgAzNk8EJ1BMAE8cLXQAoIYbFBkkR3QNNgZxTEs4AA8cT21oWzgACgByP3SoUqlDcTibGsNgKAlMHMxUJsKbB07gCvEoPus7OE7ukvLK6sNSuBHihTYmYoAdEABNAHVsmyhxAEU2AFk9AGsAdnWASmuZ5tb2von8JoGhppH7TuVXShbfF4GFBMIF-hIIECQYEAL5wmHXeEIkAw1yomFAA referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vega-functions | <5.13.1 |
5.13.1 |
| npm | vega | <5.23.0 |
5.23.0 |
Affected products
- vega vega
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4
web, exploit, third-party-advisory
-
vega.github.io
/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATJJhSoA2qH
web, exploit
-
github.com
/vega/vega/releases/tag/v5.23.0
web, release-notes
-
github.dev
/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/functions/scale.js#L36-L3
web, permissions-required
-
github.dev
/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/scales.js#L6
web, permissions-required
-
nvd.nist.gov
/vuln/detail/CVE-2023-26486
advisory
-
github.com
/vega/vega
package
Sources
- CVE List CVE-2023-26486
- GitHub Advisory GHSA-4vq7-882g-wcg4
- NVD CVE-2023-26486
Fencer Vulns 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.