Public vulnerability disclosure

CVE-2026-118251

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

publishedCWE-79

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.

Technical severity8.4 highCVSS 4.0 · CNA: GitHub_M
Published2026-10-28Source updated 2026-11-02
Collected2026-11-023 attributed sources

Fixes and workarounds

Fix

highcharts (npm): OSV reports a fixed version 11.4.9. Check the advisory for supported release branches.

Source: OSV 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

Fix

highcharts (npm): OSV reports a fixed version 13.1.0. Check the advisory for supported release branches.

Source: OSV GHSA-5793-x2q3-c3q7

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
highcharts
highcharts
< 11.4.9 (affected)
>= 12.0.0, < 12.6.1 (affected)
>= 13.0.0, < 13.1.1 (affected)
CNA: GitHub_M
highcharts

highcharts
npm
≥ 0; < 11.4.9 (affected, semver); OSV events: introduced 0; fixed 11.4.9
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "11.4.9"
  }
]

Other versions: unaffected
OSV GHSA-5793-x2q3-c3q7
highcharts

highcharts
npm
≥ 12.0.0; < 12.6.1 (affected, semver); OSV events: introduced 12.0.0; fixed 12.6.1
Source events (semver)
[
  {
    "introduced": "12.0.0"
  },
  {
    "fixed": "12.6.1"
  }
]

Other versions: unaffected
OSV GHSA-5793-x2q3-c3q7
highcharts

highcharts
npm
≥ 13.0.0; < 13.1.0 (affected, semver); OSV events: introduced 13.0.0; fixed 13.1.0
Source events (semver)
[
  {
    "introduced": "13.0.0"
  },
  {
    "fixed": "13.1.0"
  }
]

Other versions: unaffected
OSV GHSA-5793-x2q3-c3q7

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
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:NCNA: GitHub_M

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide