{"schemaVersion":3,"id":"CVE-2025-27793","aliases":["UBUNTU-CVE-2025-27793","DEBIAN-CVE-2025-27793","GHSA-963h-3v39-3pqf"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-27T14:07:52.264Z","modified":"2025-03-27T15:17:18.354Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.3,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00517,"percentile":0.43053,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.019000000000000006,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00498},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00517,"percentile":0.43053}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00507,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00517,"percentile":0.43053}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax","description":"The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/87.html"}],"affected":[{"vendor":"debian","product":"vega.js","name":"vega.js","label":"vega.js","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/vega.js","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.33.1+ds+~cs5.3.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.33.1+ds+~cs5.3.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"vega.js","name":"vega.js","label":"vega.js","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vega.js","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"vega","name":"vega","label":"vega","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vega","purlType":"npm","versions":[{"text":"< 5.32.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.32.0","eol":null,"hubHref":null},{"vendor":"Npm","product":"vega-functions","name":"vega-functions","label":"vega-functions","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vega-functions","purlType":"npm","versions":[{"text":"< 5.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.17.0","eol":null,"hubHref":null},{"vendor":"vega","product":"vega","name":"vega","label":"vega","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.32.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.32.0","eol":null,"hubHref":"/vendor/vega/vega"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","label":"github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","label":"github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/vega/vega/releases/tag/v5.32.0","label":"github.com/vega/vega/releases/tag/v5.32.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://vega.github.io/vega/usage/interpreter","label":"vega.github.io/vega/usage/interpreter","hostname":"vega.github.io","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-27793","label":"ubuntu.com/security/CVE-2025-27793","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27793","label":"www.cve.org/CVERecord?id=CVE-2025-27793","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-27793","label":"security-tracker.debian.org/tracker/CVE-2025-27793","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27793","label":"nvd.nist.gov/vuln/detail/CVE-2025-27793","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vega/vega","label":"github.com/vega/vega","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-27T14:07:52.264Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-27T15:17:18.354Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T13:29:10.896Z","stale":false,"partial":false}}