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

Status: published. Published: 2026-10-28. Updated: 2026-11-02.

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.

## Remediation

- fix: highcharts (npm): OSV reports a fixed version 11.4.9. Check the advisory for supported release branches. (source: OSV GHSA-5793-x2q3-c3q7) — https://github.com/advisories/GHSA-5793-x2q3-c3q7
- fix: highcharts (npm): OSV reports a fixed version 12.6.1. Check the advisory for supported release branches. (source: OSV GHSA-5793-x2q3-c3q7) — https://github.com/advisories/GHSA-5793-x2q3-c3q7
- fix: highcharts (npm): OSV reports a fixed version 13.1.0. Check the advisory for supported release branches. (source: OSV GHSA-5793-x2q3-c3q7) — https://github.com/advisories/GHSA-5793-x2q3-c3q7

## Affected products and versions

- highcharts / highcharts: < 11.4.9 (affected); >= 12.0.0, < 12.6.1 (affected); >= 13.0.0, < 13.1.1 (affected). Source: CNA: GitHub_M
-  / highcharts (highcharts): ≥ 0; < 11.4.9 (affected, semver); OSV events: introduced 0; fixed 11.4.9. Source: OSV GHSA-5793-x2q3-c3q7
-  / highcharts (highcharts): ≥ 12.0.0; < 12.6.1 (affected, semver); OSV events: introduced 12.0.0; fixed 12.6.1. Source: OSV GHSA-5793-x2q3-c3q7
-  / highcharts (highcharts): ≥ 13.0.0; < 13.1.0 (affected, semver); OSV events: introduced 13.0.0; fixed 13.1.0. Source: OSV GHSA-5793-x2q3-c3q7

## Severity and prioritization

- CVSS 4.0: 8.4 (high); 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.43% as of 2026-11-02; percentile 37.58%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/highcharts/highcharts/pull/25315 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/highcharts/highcharts/releases/tag/v13.1.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-5793-x2q3-c3q7 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-5793-x2q3-c3q7 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-118251; retrieved 2026-11-02; source updated 2026-11-02

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-5793-x2q3-c3q7; retrieved 2026-11-02; source updated 2026-10-28

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-118251; retrieved 2026-11-02; source updated Not reported

Revision: 280692083de1a2c4f772f343ab9be4e62ca14455984132162cdb74cf4cc5edc5

Canonical: https://y2.dev/cve/CVE-2026-118251

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.