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
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
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
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
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vega_project:vega | < 5.23.0 | no | nvd | /v1/products/vega_project/vega |
| vega-functions_project:vega-functions | < 5.13.1 | no | nvd | /v1/products/vega-functions_project/vega-functions |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vega/vega | package, releases, security_advisory | yes | /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