Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| highcharts | highcharts | >= 10.3.2, < 11.4.9, >= 12.0.0, < 12.6.2, >= 13.0.0, < 13.1.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | highcharts | >= 10.3.2, < 11.4.9 | 11.4.9 | GHSA-mw4f-gj5x-6xr4 |
| npm | highcharts | >= 12.0.0, < 12.6.2 | 12.6.2 | GHSA-mw4f-gj5x-6xr4 |
| npm | highcharts | >= 13.0.0, < 13.1.1 | 13.1.1 | GHSA-mw4f-gj5x-6xr4 |