npm
CVE-2026-118255
Highcharts Grid: `javascript:` URL in credits.href runs script on click
- Severity
- High
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.2.0, 4.0.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Also known as
- GHSA-6hgp-fmhr-mrg4
- Sources
- OSV.dev and GitHub
Description
An attacker who controls the Grid configuration can set credits.href to a javascript: URL. The value is not validated against an allowed-scheme list before it is applied to the credits link, so activating that link runs attacker-supplied script in the origin of the page hosting the Grid. Exploitation requires that untrusted data reach the Grid configuration and that a user activate the credits link. Script running this way has the same access to page data, storage and session state as the hosting application.
Workarounds
Paste in after the Grid Pro module is imported, before a Grid is created.
Affected software
| Software | Affected versions |
|---|---|
@highcharts/dashboardsnpm · osv:npm:@highcharts/dashboards |
|
@highcharts/grid-pronpm · osv:npm:@highcharts/grid-pro |
|
About @highcharts/dashboards
- Weekly downloads (npm)
- 9,155npm, 23 Nov 2026
Vulnerabilities in @highcharts/dashboards
- In our list
- 7
- Published in the last 12 months
- 7
- Critical, last 12 months
- 0
- High, last 12 months
- 5
- Known exploited
- 0
- CVE-2026-118253Highcharts Dashboards parses fullscreen labels as HTMLHigh 28 Oct 2026
- CVE-2026-118252Highcharts Dashboards parses sidebar component labels as HTMLHigh 28 Oct 2026
- CVE-2026-116797Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`High 28 Oct 2026
- CVE-2026-118245Highcharts Dashboards: `chartConstructor` is an unchecked lookup into the Highcharts namespaceHigh 28 Oct 2026
- CVE-2026-118247Highcharts Dashboards / Grid Pro: `DataTable.setCell` and column writers treat `__proto__` as an existing column.Medium 28 Oct 2026
- CVE-2026-118243Highcharts Dashboards: `__proto__` data table id writes sync listeners to `Object.prototype`Medium 28 Oct 2026
About @highcharts/grid-pro
- Weekly downloads (npm)
- 6,850npm, 23 Nov 2026
Vulnerabilities in @highcharts/grid-pro
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-118254Highcharts Grid parses pagination language options as HTMLHigh 28 Oct 2026
- CVE-2026-116797Highcharts Grid Pro: cell-renderer `attributes` map written with raw `setAttribute`High 28 Oct 2026
- CVE-2026-118242Highcharts Grid: custom icon definition objects written with raw `setAttribute` on `<path>`High 28 Oct 2026
- CVE-2026-118247Highcharts Dashboards / Grid Pro: `DataTable.setCell` and column writers treat `__proto__` as an existing column.Medium 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118255
- GitHub Advisory Database https://github.com/advisories/GHSA-6hgp-fmhr-mrg4