Security mailing lists by PureSourceCode

CVE-2023-26486

MEDIUM 6.1CVSS 3.1

Vega Expression Language `scale` expression function Cross Site Scripting

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.

Published
4 Mar 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-4vq7-882g-wcg4
Sources
NVDJSONOSV GHSA-4vq7-882g-wcg4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vega-functions_project vega-functions
cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:*
< 5.13.1 5.13.1
NVD vega_project vega
cpe:2.3:a:vega_project:vega:*:*:*:*:*:node.js:*:*
< 5.23.0 5.23.0
OSV npm vega-functions < 5.13.1 5.13.1
OSV npm vega < 5.23.0 5.23.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 4 Mar 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.