org.mvnpm:highcharts@4.2.0

  • 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 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)
    • M
    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). The chart options structure was not systematically filtered for XSS vectors. The potential impact was that content from untrusted sources could execute code in the end user's browser.

    As a workaround, implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.

    How to fix Cross-site Scripting (XSS)?

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

    [,11.3.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). The <a> tag for text formats is translated into a tspan with onclick, allowing for script injection.

    How to fix Cross-site Scripting (XSS)?

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

    [,11.3.0)
    • H
    Regular Expression Denial of Service (ReDoS)

    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 Regular Expression Denial of Service (ReDoS). This can cause an impact of about 10 seconds matching time for data 200K characters long.

    How to fix Regular Expression Denial of Service (ReDoS)?

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

    [,11.3.0)