{ "id": "CVE-2023-26487", "sourceIdentifier": "security-advisories@github.com", "published": "2023-03-04T00:15:15.563", "lastModified": "2023-11-07T04:09:36.953", "vulnStatus": "Modified", "cveTags": [], "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" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 2.7 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 3.9, "impactScore": 2.5 } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "5.13.1", "matchCriteriaId": "573B200A-A938-460B-8B95-3F4E2B98E15A" }, { "vulnerable": true, "criteria": "cpe:2.3:a:vega_project:vega:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "5.23.0", "matchCriteriaId": "FDAFA09A-097A-45DB-9E8F-B8ED261D0550" } ] } ] } ], "references": [ { "url": "https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689", "source": "security-advisories@github.com", "tags": [ "Patch" ] }, { "url": "https://github.com/vega/vega/releases/tag/v5.23.0", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55", "source": "security-advisories@github.com", "tags": [ "Exploit", "Third Party Advisory" ] } ] }