Highcharts: javascript: URL in credits.href runs script on click
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 11.4.9, 12.6.1, 13.1.1, 13.1.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Highcharts, a JavaScript charting library, is affected, along with its Highcharts Stock, Maps, and Gantt variants that come from the same package. An attacker who can control a chart's configuration could make a click on the credits label run malicious script in the context of the page hosting the chart.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
Highcharts JS is a JavaScript charting library based on SVG. Prior to 11.4.9, 12.6.1, and 13.1.0, Highcharts assigns credits.href to the window location when the credits label is clicked without checking the URL against the allowed-scheme list. An attacker who controls chart configuration can provide a javascript URL and run script in the origin of the hosting page when a user clicks the credits label. Highcharts Stock, Maps, and Gantt are included because they ship from the same package. This issue is fixed in 11.4.9, 12.6.1 and 13.1.0.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- highcharts highcharts
fixed in 11.4.9; From 12.0.0 · fixed in 12.6.1; From 13.0.0 · fixed in 13.1.1
- highchartsnpm
fixed in 11.4.9
- highchartsnpm
From 12.0.0 · fixed in 12.6.1
- highchartsnpm
From 13.0.0 · fixed in 13.1.0