{"id":"CVE-2025-27793","state":"PUBLISHED","title":"Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]","description":"Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter.","publishedAt":"2025-03-27T14:07:52.264Z","updatedAt":"2025-03-27T15:17:18.354Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vega vega"],"affected":[{"vendor":"vega","product":"vega","versions":[{"version":"< 5.32.0","status":"affected"}]}],"references":["https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","https://github.com/vega/vega/releases/tag/v5.32.0","https://vega.github.io/vega/usage/interpreter"],"weaknesses":["CWE-87","CWE-79"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27793.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-27793","state":"PUBLISHED","datePublished":"2025-03-27T14:07:52.264Z","dateUpdated":"2025-03-27T15:17:18.354Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-03-06T18:06:54.462Z"},"containers":{"cna":{"title":"Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]","descriptions":[{"lang":"en","value":"Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter."}],"affected":[{"vendor":"vega","product":"vega","versions":[{"version":"< 5.32.0","status":"affected"}]}],"references":[{"url":"https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","name":"https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","name":"https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","tags":["x_refsource_MISC"]},{"url":"https://github.com/vega/vega/releases/tag/v5.32.0","name":"https://github.com/vega/vega/releases/tag/v5.32.0","tags":["x_refsource_MISC"]},{"url":"https://vega.github.io/vega/usage/interpreter","name":"https://vega.github.io/vega/usage/interpreter","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-87","lang":"en","description":"CWE-87: Improper Neutralization of Alternate XSS Syntax","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-03-27T14:07:52.264Z"},"source":{"advisory":"GHSA-963h-3v39-3pqf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-27T15:17:13.409636Z","id":"CVE-2025-27793","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-27T15:17:18.354Z"}}]}}}