CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-59840

High
Published: Translated: NVD NIST

Summary

Vega to gramatyka wizualizacji, która umożliwia tworzenie interaktywnych projektów wizualizacyjnych. W wersjach przed 6.2.0 aplikacje spełniające dwa warunki są narażone na wykonanie dowolnego kodu JavaScript, nawet przy użyciu 'bezpiecznego trybu' interpreterów wyrażeń.

Risk Assessment

Organizacje mogą być narażone na ataki, które wykorzystują luki w zabezpieczeniach, co może prowadzić do nieautoryzowanego dostępu do systemów i danych. Wykonanie złośliwego kodu JavaScript może mieć poważne konsekwencje dla bezpieczeństwa aplikacji.

Recommendation

Zaleca się aktualizację do wersji `vega` `6.2.0`, `vega-expression` `6.1.0` lub `vega-interpreter` `2.2.1`. Należy unikać przypisywania instancji `vega.View` do zmiennych globalnych oraz zezwalania na definicje `JSON` dostarczane przez użytkowników.

Related vulnerabilities

Original NVD description (English source)

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 6.2.0, applications meeting 2 conditions are at risk of arbitrary JavaScript code execution, even if "safe mode" expressionInterpreter is used. They are vulnerable if they use `vega` in an application that attaches `vega` library and a `vega.View` instance similar to the Vega Editor to the global `window` and if they allow user-defined Vega `JSON` definitions (vs JSON that was is only provided through source code). Patches are available in the following Vega applications. If using the latest Vega line (6.x), upgrade to `vega` `6.2.0` / `vega-expression` `6.1.0` / `vega-interpreter` `2.2.1` (if using AST evaluator mode). If using Vega in a non-ESM environment, upgrade to `vega-expression` `5.2.1` / `1.2.1` (if using AST evaluator mode). Some workarounds are available. Do not attach `vega` View instances to global variables, and do not attac

Vulnerability data from NVD (NIST) · CISA KEV · EPSS