Update dependency highcharts to v12 [SECURITY] - autoclosed #281
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.2->^12.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
GHSA-gr4j-r575-g665
Versions of
highchartsprior to 7.2.2 or 8.1.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitizehrefvalues and does not restrict URL schemes, allowing attackers to execute arbitrary JavaScript in a victim's browser if they click the link.CVE-2021-29489
Impact
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. Especially when using the
useHTMLflag, HTML string options would be inserted unfiltered directly into the DOM. WhenuseHTMLwas false, malicious code could be inserted by using various character replacement tricks or malformed HTML.If your chart configuration comes from a trusted source like a static setup or pre-filtered HTML (or no markup at all in the configuration), you are not impacted.
Patches
In version 9, the whole rendering layer was refactored to use an DOMParser, an AST and tag and HTML allow-listing to make sure only safe content entered the DOM. In addition, prototype pollution was stopped.
Workarounds
Implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.
References
For more information
If you have any questions or comments about this advisory:
Release Notes
highcharts/highcharts-dist (highcharts)
v12.4.0Compare Source
v12.3.0Compare Source
v12.2.0Compare Source
v12.1.2Compare Source
v12.1.1Compare Source
v12.1.0Compare Source
v12.0.2Compare Source
v12.0.1Compare Source
v12.0.0Compare Source
v11.4.8Compare Source
v11.4.7Compare Source
v11.4.6Compare Source
v11.4.5Compare Source
v11.4.4Compare Source
v11.4.3Compare Source
v11.4.2Compare Source
v11.4.1Compare Source
v11.4.0Compare Source
v11.3.0Compare Source
v11.2.0Compare Source
v11.1.0Compare Source
v11.0.1Compare Source
v11.0.0Compare Source
v10.3.3Compare Source
v10.3.2Compare Source
v10.3.1Compare Source
v10.3.0Compare Source
v10.2.1Compare Source
v10.2.0Compare Source
v10.1.0Compare Source
v10.0.0Compare Source
v9.3.3Compare Source
v9.3.2Compare Source
v9.3.1Compare Source
v9.3.0Compare Source
v9.2.2Compare Source
v9.2.1Compare Source
v9.2.0Compare Source
v9.1.2Compare Source
v9.1.1Compare Source
v9.1.0Compare Source
v9.0.1Compare Source
v9.0.0Compare Source
v8.2.2Compare Source
v8.2.0Compare Source
v8.1.2Compare Source
v8.1.1Compare Source
v8.1.0Compare Source
v8.0.4Compare Source
v8.0.3Compare Source
v8.0.2Compare Source
v8.0.1Compare Source
v8.0.0Compare Source
v7.2.2Compare Source
v7.2.1Compare Source
v7.2.0Compare Source
v7.1.3Compare Source
v7.1.2Compare Source
v7.1.1Compare Source
v7.1.0Compare Source
v7.0.3Compare Source
v7.0.2Compare Source
v7.0.1Compare Source
v7.0.0Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.