CVE-2025-27793
EPSS 0.47%Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]
發布日:2025/3/27修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/vega.jsfrom 0
- npm/vegafrom 0, < 5.32.0
- npm/vega-functionsfrom 0, < 5.17.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-27793
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-27793
- PATCHhttps://github.com/vega/vega
- WEBhttps://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966
- WEBhttps://github.com/vega/vega/releases/tag/v5.32.0
- WEBhttps://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf
- WEBhttps://vega.github.io/vega/usage/interpreter