Highcharts
Highcharts: javascript: URL in credits.href runs script on click
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 11.4.9
- >= 12.0.0, < 12.6.1
- >= 13.0.0, < 13.1.1
Fixed in 11.4.9, 12.6.1, 13.1.1
Mitigation
Upgrade highcharts to 11.4.9 or 12.6.1 or 13.1.1 or later.
References
- Vendor advisory github.com/highcharts/highcharts/security/advi…
- Patch github.com/highcharts/highcharts/pull/25315
- Patch github.com/highcharts/highcharts/commit/953477…
1 more
- Release notes github.com/highcharts/highcharts/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.