org.webjars.npm:vega-expression@4.0.1 vulnerabilities

  • latest version

    5.2.0

  • first published

    7 years ago

  • latest version published

    8 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:vega-expression package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Scripting (XSS)

    org.webjars.npm:vega-expression is a WebJar for vega-expression.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the toString function in environments where the VEGA_DEBUG global variable is present. An attacker can execute arbitrary JavaScript code by supplying crafted Vega JSON definitions that abuse expression evaluation.

    Note:

    This is only exploitable if the application attaches the library and a View instance to the global window object and allows user-defined JSON definitions.

    How to fix Cross-site Scripting (XSS)?

    A fix was pushed into the master branch but not yet published.

    [0,)