vega.js — security advisory
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.
- Products
- vega.js
- Affected versions
- 5.25.0+ds+~cs5.3.0-2, 5.25.0+ds+~cs5.3.0-5, 5.28.0+ds+~cs5.3.0-1, 5.28.0+ds+~cs5.3.0-2, 5.33.1+ds+~cs5.3.0-4
- Fixed versions
- Not specified
- CVEs
- CVE-2025-27793
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:26 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-27793
vega.js
Fixed versions: Not specified
vega.js
Fixed versions: Not specified
vega.js
Fixed versions: Not specified
vega.js
Fixed versions: Not specified
Complete source record
{
"id": "d4497fb4caf47dfb12a7f63fc49aa92a71062841ed3e86c527d923a3a6afb1d1",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-27793",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-27793",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2025-27793",
"products": [
{
"name": {
"value": "vega.js",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.25.0+ds+~cs5.3.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "5.25.0+ds+~cs5.3.0-5",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "vega.js",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.28.0+ds+~cs5.3.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "vega.js",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.28.0+ds+~cs5.3.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "5.33.1+ds+~cs5.3.0-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "vega.js",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.28.0+ds+~cs5.3.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.28.0+ds+~cs5.3.0-2",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-27793",
"aliases": [
"UBUNTU-CVE-2025-27793"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vega.js",
"purl": "pkg:deb/ubuntu/vega.js?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"5.25.0+ds+~cs5.3.0-2",
"5.25.0+ds+~cs5.3.0-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27793.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-vega",
"binary_version": "5.25.0+ds+~cs5.3.0-5"
},
{
"binary_name": "node-vega",
"binary_version": "5.25.0+ds+~cs5.3.0-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vega.js",
"purl": "pkg:deb/ubuntu/vega.js?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"5.28.0+ds+~cs5.3.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27793.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-vega",
"binary_version": "5.28.0+ds+~cs5.3.0-1"
},
{
"binary_name": "node-vega",
"binary_version": "5.28.0+ds+~cs5.3.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vega.js",
"purl": "pkg:deb/ubuntu/vega.js?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.28.0+ds+~cs5.3.0-2",
"5.33.1+ds+~cs5.3.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27793.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-vega",
"binary_version": "5.33.1+ds+~cs5.3.0-4"
},
{
"binary_name": "node-vega",
"binary_version": "5.33.1+ds+~cs5.3.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vega.js",
"purl": "pkg:deb/ubuntu/vega.js?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"5.28.0+ds+~cs5.3.0-1",
"5.28.0+ds+~cs5.3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27793.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-vega",
"binary_version": "5.28.0+ds+~cs5.3.0-2"
},
{
"binary_name": "node-vega",
"binary_version": "5.28.0+ds+~cs5.3.0-2"
}
]
}
}
],
"modified": "2026-10-17T12:56:49.633707172Z",
"provider": "osv",
"upstream": [
"CVE-2025-27793"
],
"references": [
"https://ubuntu.com/security/CVE-2025-27793",
"https://www.cve.org/CVERecord?id=CVE-2025-27793",
"https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966",
"https://github.com/vega/vega/releases/tag/v5.32.0",
"https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf",
"https://vega.github.io/vega/usage/interpreter"
]
},
"related_cves": [
{
"value": "CVE-2025-27793",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356405,
"published_at": "2025-03-27T14:15:00+00:00"
}