← Back to CVEs
CVE-2023-26486
MEDIUM6.5
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.
CVE Details
CVSS v3.1 Score6.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/4/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
vega-functions_project:vega-functionsvega_project:vega
Weaknesses (CWE)
CWE-79
References
https://github.com/vega/vega/releases/tag/v5.23.0(security-advisories@github.com)
https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4(security-advisories@github.com)
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/functions/scale.js#L36-L37(security-advisories@github.com)
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/scales.js#L6(security-advisories@github.com)
https://github.com/vega/vega/releases/tag/v5.23.0(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4(af854a3a-2127-422b-91ae-364da2661108)
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/functions/scale.js#L36-L37(af854a3a-2127-422b-91ae-364da2661108)
https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/scales.js#L6(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.