Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

CVE-2026-118251Highcharts: javascript: URL in credits.href runs script on click

High 8.4

In plain English

A high-severity cross-site scripting in highcharts from highcharts. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.4High
Exploit odds (30 days)0.4%top 62.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmhighcharts11.4.9GHSA-5793-x2q3-c3q7
npmhighcharts12.6.1GHSA-5793-x2q3-c3q7
npmhighcharts13.1.0GHSA-5793-x2q3-c3q7

Affected products (as reported)

VendorProductVersions
highcharts highcharts < 11.4.9>= 12.0.0, < 12.6.1>= 13.0.0, < 13.1.1

Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

References