org.mvnpm:highcharts@11.4.5

  • latest version

    13.1.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    2 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:highcharts 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
    • H
    Cross-site Scripting (XSS)

    org.mvnpm:highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the breadcrumbs.style option, which is passed to SVGElement.attr() rather than applied as CSS. An attacker who can supply untrusted data to the chart configuration can inject event-handler keys (such as onmouseover) into the breadcrumbs.style object, causing them to be set as live SVG attributes on the rendered breadcrumb button element. When a user drills down into a hierarchical series and then interacts with the breadcrumb button, the injected handler executes arbitrary JavaScript in the victim's browser.

    Note: Exploitation requires that untrusted data reach the chart configuration and that a user drill down so that the breadcrumbs render, and then hover over or activate the breadcrumb button.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:highcharts to version 13.1.0 or higher.

    [11.3.0,13.1.0)
    • H
    Prototype Pollution

    org.mvnpm:highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers.

    Affected versions of this package are vulnerable to Prototype Pollution via Point.setNestedProperty in ts/Core/Series/Point.ts, which splits a dot-separated key path and traverses it without filtering reserved segments. An authenticated attacker can configure a chart with series.keys entries such as __proto__.polluted or constructor.prototype.x, causing writes to Object.prototype and corrupting the shared prototype chain for all objects in the runtime.

    How to fix Prototype Pollution?

    Upgrade org.mvnpm:highcharts to version 13.1.0 or higher.

    [11.3.0,13.1.0)
    • H
    Cross-site Scripting (XSS)

    org.mvnpm:highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the credits.href chart configuration option, which is assigned directly to win.location.href when the credits label is clicked without being validated against an allowed-scheme list. An attacker who can supply untrusted chart configuration data can set credits.href to a javascript: URL, causing arbitrary script execution in the victim's browser when the credits label is clicked.

    Note: This is only exploitable if untrusted data can reach the chart configuration and a user clicks the credits label.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:highcharts to version 13.1.0 or higher.

    [,13.1.0)
    • H
    Cross-site Scripting (XSS)

    org.mvnpm:highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the xlink:href attribute being unfiltered in exported SVG output. The AST.ts sanitizer omits xlink:href from the list of attributes whose values are validated against allowedReferences, allowing an attacker who can supply untrusted data to a text option (such as the chart title) to inject a javascript: URI. When the chart is exported or its markup is serialised and parsed again, a user who activates the injected link triggers arbitrary JavaScript execution in their browser.

    Note: This is only exploitable when untrusted data reaches a text option such as the title, the chart is exported or its markup is serialised and parsed again, and a user activates the link.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:highcharts to version 13.1.1 or higher.

    [11.3.0,13.1.1)