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.
Published: 2026-10-28
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Highcharts assigns the credits.href property to the window location without validating the provided URL against an allowed scheme list. An attacker who controls the chart configuration can set a javascript URL in this field, and when a user clicks the credits label the script runs in the context of the hosting page, giving the attacker remote code execution capability. This flaw is a client‑side cross‑site scripting vulnerability (CWE‑79).

Affected Systems

The vulnerability impacts the Highcharts JavaScript charting library, including the core Highcharts, Highcharts Stock, Maps, and Gantt packages. Versions prior to 11.4.9, 12.6.1, and 13.1.0 are affected; any application embedding these libraries without applying the patch is vulnerable.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the risk remains significant because exploitation requires only a user interaction – clicking the credits label – after loading a chart from a compromised configuration. Attackers can supply malicious javascript URLs via chart options; when the user clicks the credits link, the script executes with the host page’s privileges. Because the flaw is client‑side and requires user interaction, the likelihood of exploitation depends on the frequency of chart usage and user behavior. This combination of high severity and user‑triggered exploitation warrants concern for any publicly exposed pages using the affected Highcharts versions.

Generated by OpenCVE AI on October 28, 2026 at 19:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Highcharts library to version 11.4.9, 12.6.1, or 13.1.0 or later to apply the vendor patch.
  • If upgrading is not immediately possible, disable or remove the credits href by setting the credits.enabled option to false or ensuring credits.href is not a javascript: URL.
  • Review all chart configurations for external input to confirm that no malicious URLs are injected into the chart options before rendering.

Generated by OpenCVE AI on October 28, 2026 at 19:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5793-x2q3-c3q7 Highcharts: `javascript:` URL in credits.href runs script on click
History

Wed, 28 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Highcharts
Highcharts highcharts
Vendors & Products Highcharts
Highcharts highcharts

Wed, 28 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title Highcharts: javascript: URL in credits.href runs script on click
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.4, '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'}


Subscriptions

Highcharts Highcharts
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T18:02:46.576Z

Reserved: 2026-10-27T20:13:55.313Z

Link: CVE-2026-118251

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T19:17:29.340

Modified: 2026-10-28T19:17:29.340

Link: CVE-2026-118251

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T19:45:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')