Skip to content

CVE-2021-29489 (High) detected in highcharts.src-4.0.1.jsΒ #3285

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-29489 - High Severity Vulnerability

Vulnerable Library - highcharts.src-4.0.1.js

Highcharts is a charting library written in pure JavaScript, offering an easy way of adding interactive charts to your web site or web application. Highcharts currently supports line, spline, area, areaspline, column, bar, pie and scatter chart types. Highcharts is NOT free for commercial use. See the license here: http://highcharts.com/license

Library home page: https://cdnjs.cloudflare.com/ajax/libs/highcharts/4.0.1/highcharts.src.js

Path to dependency file: /rubycritic/code_index.html

Path to vulnerable library: /rubycritic/assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/charts/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/seek/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/well-formed/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/ruby-eclipse-cheatsheets-to-dita/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/hashcheck/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/built-in-datatypes/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/scrapers/ruby/nokogiri/../../../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/ruby-strip/../assets/vendor/javascripts/highcharts.src-4.0.1.js,/rubycritic/drivers/../assets/vendor/javascripts/highcharts.src-4.0.1.js

Dependency Hierarchy:

  • ❌ highcharts.src-4.0.1.js (Vulnerable Library)

Found in HEAD commit: 8dbdb4a1170502df116e35d16ab172d26c02609e

Found in base branch: main

Vulnerability Details

Highcharts JS is a JavaScript charting library based on SVG. In Highcharts versions 8 and earlier, 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. The vulnerability is patched in version 9. As a workaround, implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.

Publish Date: 2021-05-05

URL: CVE-2021-29489

CVSS 3 Score Details (7.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1667

Release Date: 2021-05-05

Fix Resolution: highcharts - 9.0.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions