{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26487","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-02-23T23:22:58.575Z","datePublished":"2023-03-03T23:47:28.486Z","dateUpdated":"2025-02-25T15:01:54.570Z"},"containers":{"cna":{"title":"Vega has cross-site scripting vulnerability in `lassoAppend` function","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55"},{"name":"https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689","tags":["x_refsource_MISC"],"url":"https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689"},{"name":"https://github.com/vega/vega/releases/tag/v5.23.0","tags":["x_refsource_MISC"],"url":"https://github.com/vega/vega/releases/tag/v5.23.0"}],"affected":[{"vendor":"vega","product":"vega","versions":[{"version":"< 5.23.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-03-03T23:47:28.486Z"},"descriptions":[{"lang":"en","value":"Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs.`lassoAppend' function accepts 3 arguments and internally invokes `push` function on the 1st argument specifying array consisting of 2nd and 3rd arguments as `push` call argument. The type of the 1st argument is supposed to be an array, but it's not enforced. This makes it possible to specify any object with a `push` function as the 1st argument, `push` function can be set to any function that can be access via `event.view` (no all such functions can be exploited due to invalid context or signature, but some can, e.g. `console.log`). The issue is that`lassoAppend` doesn't enforce proper types of its arguments. This issue opens various XSS vectors, but exact impact and severity depends on the environment (e.g. Core JS `setImmediate` polyfill basically allows `eval`-like functionality). This issue was patched in 5.23.0.\n"}],"source":{"advisory":"GHSA-w5m3-xh75-mp55","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T11:53:52.908Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55"},{"name":"https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689"},{"name":"https://github.com/vega/vega/releases/tag/v5.23.0","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/vega/vega/releases/tag/v5.23.0"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:31:39.665748Z","id":"CVE-2023-26487","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-25T15:01:54.570Z"}}]}}