org.webjars.npm:vega-functions@5.15.0 vulnerabilities

  • latest version

    5.18.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    25 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

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

    org.webjars.npm:vega-functions is a Custom functions for the Vega expression language.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) through the RegExp.prototype[@@replace] method. An attacker can execute arbitrary JavaScript code by manipulating the input to the replace function to trigger a malicious exec call.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.npm:vega-functions to version 5.18.0 or higher.

    [,5.18.0)
    • M
    Cross-site Scripting (XSS)

    org.webjars.npm:vega-functions is a Custom functions for the Vega expression language.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the event filter. An attacker can execute arbitrary JavaScript code by manipulating input to the Vega expression language that is not properly sanitized when CSP mode is not enabled.

    Note:

    This is only exploitable if the vega.expressionInterpreter is disabled, which is not the default setting.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.npm:vega-functions to version 5.18.0 or higher.

    [,5.18.0)