{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-27793","id":"CVE-2025-27793","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 ve","descriptionLong":"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.","published":"2025-03-27T14:07:52.264Z","updated":"2026-10-28T02:31:12.123596965Z","reserved":"2025-03-06T18:06:54.462Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["vega"],"affectedProducts":[{"vendor":"vega","product":"vega","defaultStatus":null,"versions":[{"version":"< 5.32.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"vega","purl":"pkg:npm/vega","ranges":["<5.32.0"],"fixed":["5.32.0"],"advisory":"GHSA-963h-3v39-3pqf"},{"ecosystem":"npm","name":"vega-functions","purl":"pkg:npm/vega-functions","ranges":["<5.17.0"],"fixed":["5.17.0"],"advisory":"GHSA-963h-3v39-3pqf"}],"cwes":["CWE-87","CWE-79"],"aliases":["GHSA-963h-3v39-3pqf"],"references":[{"url":"https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/vega/vega/releases/tag/v5.32.0","tags":["x_refsource_MISC","web"]},{"url":"https://vega.github.io/vega/usage/interpreter","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27793.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27793","tags":["advisory"]},{"url":"https://github.com/vega/vega","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00517,"epssPercentile":0.44867,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-27793","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27793","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-27793","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-963h-3v39-3pqf","ok":true,"note":"GHSA-963h-3v39-3pqf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-27793","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}