CVE-2026-118251

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

Published Oct 28, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Highcharts
Highcharts highcharts
Vendors & Products Highcharts
Highcharts highcharts
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 2, 2026, 8:28 PM
Reserved
Oct 27, 2026, 8:13 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 7:17 PM
Modified
Nov 2, 2026, 9:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 6:02 PM