CVEfocus › CVE database › CVE-2023-26486

CVE-2023-26486Vega `scale` expression function cross site scripting

CVSS 6.5 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2023-03-03Updated 2025-02-25Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10vega.jsNot affected
vulnerable_code_not_present
Ubuntu 24.04vega.jsNot affected
vulnerable_code_not_present
Debian 14vega.jsFixed5.25.0+ds+~cs5.3.0-1DEBIAN-CVE-2023-26486
Debian 13vega.jsFixed5.25.0+ds+~cs5.3.0-1DEBIAN-CVE-2023-26486
Debian 12vega.jsFix pendingDEBIAN-CVE-2023-26486
npm libraryvegaFixed5.23.0GHSA-4vq7-882g-wcg4
npm libraryvega-functionsFixed5.13.1GHSA-4vq7-882g-wcg4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.