Highcharts
Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts
Highcharts JS is a JavaScript charting library based on SVG. From 10.3.2 until 11.4.9, 12.6.2, and 13.1.1, Highcharts accepts an SVG anchor xlink:href attribute without applying the allowed-scheme check used for href and src. An attacker who controls a chart text option can preserve a javascript URL in serialized chart output. When exported or server-rendered SVG is parsed again and a user activates the link, script runs in the origin of that document. This issue is fixed in 11.4.9, 12.6.2 and 13.1.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 10.3.2, < 11.4.9
- >= 12.0.0, < 12.6.2
- >= 13.0.0, < 13.1.1
Fixed in 11.4.9, 12.6.2, 13.1.1
Mitigation
Upgrade highcharts to 11.4.9 or 12.6.2 or 13.1.1 or later.
References
- Vendor advisory github.com/highcharts/highcharts/security/advi…
- Patch github.com/highcharts/highcharts/commit/6cf359…
- 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.