CVE-2023-26487
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2023-26487 is a Cross-Site Scripting (XSS) vulnerability discovered in Vega's lassoAppend function. The issue was disclosed on March 1, 2023, affecting Vega versions below 5.23.0 and vega-functions versions below 5.13.1. The vulnerability exists because the lassoAppend function doesn't enforce proper type checking of its arguments, which allows attackers to specify any object with a push function as the first argument (GitHub Advisory).

Technical details

The vulnerability stems from the lassoAppend function's implementation where it doesn't properly validate input types. The function accepts three arguments and internally invokes the push function on the first argument, specifying an array consisting of the second and third arguments as the push call argument. Since the type of the first argument isn't enforced to be an array, attackers can specify any object with a push function, potentially accessing functions via event.view (GitHub Advisory).

Impact

The vulnerability opens various XSS vectors, with the exact impact and severity depending on the environment. In certain environments, such as those using Core JS setImmediate polyfill, the vulnerability could potentially allow eval-like functionality, leading to arbitrary code execution (GitHub Advisory).

Exploitability

The vulnerability can be exploited by providing specially crafted input to the lassoAppend function. A proof of concept exists that demonstrates the exploitation by using the browser's non-built-in event.view.setImmediate function or event.view.console.log to execute arbitrary code (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Vega version 5.23.0 and vega-functions version 5.13.1. Users are advised to upgrade to these versions or later to address the security issue. The fix includes proper type checking and array spread instead of push operations (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management