Every CVE Search/ Get API key

CVE-2026-118251

Highcharts: javascript: URL in credits.href runs script on click

8.4 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Active

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

0.43%Unchanged since Oct 29, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.4

Highcharts: javascript: URL in credits.href runs script on click

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.

Record
CVE-2026-118251
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Weakness
CWE-79
Updated
2026-11-03
EUVDEUVD-2026-112365 8.4

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.

Record
EUVD-2026-112365
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-5793-x2q3-c3q7 8.4

Highcharts: `javascript:` URL in credits.href runs script on click

Impact

A credits.href value beginning with javascript: is assigned to the window location when the credits label is clicked, without being checked against an allowed-scheme list. An attacker who controls the chart configuration can therefore run script in the origin of the page hosting the chart. Exploitation requires that untrusted data reach the chart configuration and that a user click the credits label. Charts built with Highcharts Stock, Maps and Gantt are included, since those ship from the same package as Core.

Workarounds

Drop-in fix - for any versions affected (5.0.0-13.0.2). Add the below IIFE to run after Highcharts is loaded, but before a chart is created.

!function(t){if(t&&t.Chart&&!t.Chart.prototype.creditsHrefPatched){var r=t.Chart.prototype,e=r.addCredits;r.addCredits=function(n){var o=t.merge(!0,this.options.credits,n);return o&&o.href&&!c(o.href)&&delete o.href,e.call(this,o)},r.creditsHrefPatched=!0}function c(r){var e=t.AST&&t.AST.allowedReferences||["https://","http://","mailto:","/","../","./","#"];return"string"==typeof r&&e.some(function(t){return 0===r.indexOf(t)})}}(Highcharts);

Live demo & testing

Obtaining the patched version

The patched releases are available from all the usual distribution channels. With npm, upgrade the affected package to the patched version listed above, for example npm install highcharts@ 13.1.0. If you load Highcharts from the CDN, use the versioned URLs on code.highcharts.com, for example https://code.highcharts.com/13.1.0/highcharts.js. For more on each installation method, see the installation guide.

Record
GHSA-5793-x2q3-c3q7
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Weakness
CWE-79
Updated
2026-11-02
NVD 8.4

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.

Record
CVE-2026-118251
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-79
Updated
2026-11-04
OSV 8.4

Highcharts: javascript: URL in credits.href runs script on click

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.

Record
CVE-2026-118251
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Weakness
CWE-79
Updated
2026-11-04
OSVGHSA-5793-x2q3-c3q7 8.4

Highcharts: `javascript:` URL in credits.href runs script on click

Impact

A credits.href value beginning with javascript: is assigned to the window location when the credits label is clicked, without being checked against an allowed-scheme list. An attacker who controls the chart configuration can therefore run script in the origin of the page hosting the chart. Exploitation requires that untrusted data reach the chart configuration and that a user click the credits label. Charts built with Highcharts Stock, Maps and Gantt are included, since those ship from the same package as Core.

Workarounds

Drop-in fix - for any versions affected (5.0.0-13.0.2). Add the below IIFE to run after Highcharts is loaded, but before a chart is created.

!function(t){if(t&&t.Chart&&!t.Chart.prototype.creditsHrefPatched){var r=t.Chart.prototype,e=r.addCredits;r.addCredits=function(n){var o=t.merge(!0,this.options.credits,n);return o&&o.href&&!c(o.href)&&delete o.href,e.call(this,o)},r.creditsHrefPatched=!0}function c(r){var e=t.AST&&t.AST.allowedReferences||["https://","http://","mailto:","/","../","./","#"];return"string"==typeof r&&e.some(function(t){return 0===r.indexOf(t)})}}(Highcharts);

Live demo & testing

Obtaining the patched version

The patched releases are available from all the usual distribution channels. With npm, upgrade the affected package to the patched version listed above, for example npm install highcharts@ 13.1.0. If you load Highcharts from the CDN, use the versioned URLs on code.highcharts.com, for example https://code.highcharts.com/13.1.0/highcharts.js. For more on each installation method, see the installation guide.

Record
GHSA-5793-x2q3-c3q7
CVSS 4.0
8.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Weakness
CWE-79
Updated
2026-11-02
Show 8 moreShow less
OSVCLSA-2026-1793349717 No score

TuxCare security update for highcharts (5 CVEs)

TuxCare rebuilt highcharts to address 5 CVEs. Fixed in 12.5.0-tuxcare.1.

Record
CLSA-2026-1793349717
Updated
2026-11-02
OSVCLSA-2026-1793359199 No score

TuxCare security update for highcharts (2 CVEs)

TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 8.2.2-tuxcare.2.

Record
CLSA-2026-1793359199
Updated
2026-11-02
OSVCLSA-2026-1793363381 No score

TuxCare security update for highcharts (2 CVEs)

TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 7.2.2-tuxcare.2.

Record
CLSA-2026-1793363381
Updated
2026-11-02
OSVCLSA-2026-1793365747 No score

TuxCare security update for highcharts (2 CVEs)

TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 7.2.0-tuxcare.2.

Record
CLSA-2026-1793365747
Updated
2026-11-02
OSVCLSA-2026-1793448479 No score

TuxCare security update for highcharts (1 CVE)

TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.0.7-tuxcare.2.

Record
CLSA-2026-1793448479
Updated
2026-11-02
OSVCLSA-2026-1793448574 No score

TuxCare security update for highcharts (2 CVEs)

TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 6.1.0-tuxcare.2.

Record
CLSA-2026-1793448574
Updated
2026-11-02
OSVCLSA-2026-1793448681 No score

TuxCare security update for highcharts (2 CVEs)

TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 6.1.3-tuxcare.2.

Record
CLSA-2026-1793448681
Updated
2026-11-02
OSVCLSA-2026-1793465191 No score

TuxCare security update for highcharts (1 CVE)

TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.2.0-tuxcare.5.

Record
CLSA-2026-1793465191
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
highcharts
npm
before 11.4.9
11.4.9
highcharts
npm
12.0.0 up to 12.6.1
12.6.1
highcharts
npm
13.0.0 to 13.0.2
13.1.0
highcharts
TuxCare:npm
From an advisory covering 5 CVEs
12.5.0-tuxcare.0 up to 12.5.0-tuxcare.1, plus listed versions
12.5.0
12.5.0-tuxcare.1
highcharts
TuxCare:npm
From an advisory covering 2 CVEs
8.2.2-tuxcare.0 up to 8.2.2-tuxcare.2, plus listed versions
8.2.28.2.2-tuxcare.1
8.2.2-tuxcare.2
highcharts
TuxCare:npm
From an advisory covering 2 CVEs
7.2.2-tuxcare.0 up to 7.2.2-tuxcare.2, plus listed versions
7.2.27.2.2-tuxcare.1
7.2.2-tuxcare.2
highcharts
TuxCare:npm
From an advisory covering 2 CVEs
7.2.0-tuxcare.0 up to 7.2.0-tuxcare.2, plus listed versions
7.2.07.2.0-tuxcare.1
7.2.0-tuxcare.2
highcharts
TuxCare:npm
6.0.7-tuxcare.0 up to 6.0.7-tuxcare.2, plus listed versions
6.0.76.0.7-tuxcare.1
6.0.7-tuxcare.2
highcharts
TuxCare:npm
From an advisory covering 2 CVEs
6.1.0-tuxcare.0 up to 6.1.0-tuxcare.2, plus listed versions
6.1.06.1.0-tuxcare.1
6.1.0-tuxcare.2
highcharts
TuxCare:npm
From an advisory covering 2 CVEs
6.1.3-tuxcare.0 up to 6.1.3-tuxcare.2, plus listed versions
6.1.36.1.3-tuxcare.1
6.1.3-tuxcare.2
highcharts
TuxCare:npm
6.2.0-tuxcare.0 up to 6.2.0-tuxcare.5, plus listed versions
6.2.06.2.0-tuxcare.16.2.0-tuxcare.26.2.0-tuxcare.36.2.0-tuxcare.4
6.2.0-tuxcare.5
highcharts
npm
13.0.0 up to 13.1.0
13.1.0

History

History
RecordedChangedSources
affectedNVD, OSV
factsCVE List, EUVD, NVD, OSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-118251 is a high vulnerability (CVSS 8.4) in Highcharts, published October 28, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in highcharts 11.4.9.

References

MoveEnter Open