Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. highcharts
  4. ›
  5. CVE-2026-118251

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

October 28, 2026

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.

References

  • github.com/advisories/GHSA-5793-x2q3-c3q7
  • github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff
  • github.com/highcharts/highcharts/pull/25315
  • github.com/highcharts/highcharts/releases/tag/v13.1.0
  • github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7
  • nvd.nist.gov/vuln/detail/CVE-2026-118251

Code Behaviors & Features

Detect and mitigate CVE-2026-118251 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 11.4.9, all versions starting from 12.0.0 before 12.6.1, all versions starting from 13.0.0 before 13.1.0

Fixed versions

  • 11.4.9
  • 12.6.1
  • 13.1.0

Solution

Upgrade to versions 11.4.9, 12.6.1, 13.1.0 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/highcharts/CVE-2026-118251.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:48 +0000.