SecurityContext

CVE-2023-26486: Vega - Stored XSS

  • Cve: CVE-2023-26486
  • Name: Vega - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary JavaScript code, potentially leading to cross-site scripting or remote code execution.
  • Remediation: Update to version 5.13.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to supply malicious scale expressions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00775
  • Epss percentile: 0.56698
  • Assignee: [email protected]
  • Published at: 2023-03-04T00:15:15Z
  • Age in days: 1361
  • Modified at: 2026-06-17T05:43:26Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-26486
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4nvd2023-03-04
https://vega.github.io/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATJJhSoA2qHFIEcNCAAaAZT0ACAApsAwtJDEkAGwZwIaZQEYAujMwAnJOIgAzNk8EJ1BMAE8cLXQAoI…nvd2023-03-04

Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).

References

Same in every row:

  • Source: nvd
UrlTags
https://vega.github.io/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATJJhSoA2qHFIEcNCAAaAZT0ACAApsAwtJDEkAGwZwIaZQEYAujMwAnJOIgAzNk8EJ1BMAE8cLXQAoI…Exploit
https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4Exploit, Third Party Advisory
https://github.com/vega/vega/releases/tag/v5.23.0Release Notes
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/functions/scale.js#L36-L37Permissions Required
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/scales.js#L6Permissions Required

Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).

Products

ProductAffectedPlatform boundSourcesUrl
vega_project:vega< 5.23.0nonvd/v1/products/vega_project/vega
vega-functions_project:vega-functions< 5.13.1nonvd/v1/products/vega-functions_project/vega-functions

Projects

RepositoryLink kindsIndexedUrl
vega/vegapackage, releases, security_advisoryyes/v1/repositories/vega/vega

Index

  • Repositories: 4
  • Repositories high signal: 4
  • Packages: 2

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2023-03-04
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts