p PatchFirst

CVE-2026-118251

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.4 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • highcharts

    Versions
    • < 11.4.9: Affected
    • >= 12.0.0, < 12.6.1: Affected
    • >= 13.0.0, < 13.1.1: Affected

    No fix published

  • highcharts npm

    Affected ranges
    • SEMVER: < 11.4.9

    Update to 11.4.9

  • highcharts npm

    Affected ranges
    • SEMVER: ≥ 12.0.0, < 12.6.1

    Update to 12.6.1

  • highcharts npm

    Affected ranges
    • SEMVER: ≥ 13.0.0, < 13.1.0

    Update to 13.1.0

Original sources

Check your server →