All vulnerabilities

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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Paste in after the Grid Pro module is imported, before a Grid is created.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@highcharts/dashboardsnpm · osv:npm:@highcharts/dashboards
  • From 3.2.0 before 4.0.0
@highcharts/grid-pronpm · osv:npm:@highcharts/grid-pro
  • From 2.0.0 before 3.2.0

About @highcharts/dashboards

Weekly downloads (npm)
9,155npm, 23 Nov 2026

About @highcharts/grid-pro

Weekly downloads (npm)
6,850npm, 23 Nov 2026

References