CVE-2026-118251
Highcharts: javascript: URL in credits.href runs script on click
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.
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-c3q7Fix
highcharts (npm): OSV reports a fixed version 12.6.1. Check the advisory for supported release branches.
Source: OSV GHSA-5793-x2q3-c3q7Fix
highcharts (npm): OSV reports a fixed version 13.1.0. Check the advisory for supported release branches.
Source: OSV GHSA-5793-x2q3-c3q7Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| highcharts highcharts |
< 11.4.9 (affected) >= 12.0.0, < 12.6.1 (affected) >= 13.0.0, < 13.1.1 (affected) |
CNA: GitHub_M |
highchartshighcharts
npm |
≥ 0; < 11.4.9 (affected, semver); OSV events: introduced 0; fixed 11.4.9Source events (semver)
Other versions: unaffected |
OSV GHSA-5793-x2q3-c3q7 |
highchartshighcharts
npm |
≥ 12.0.0; < 12.6.1 (affected, semver); OSV events: introduced 12.0.0; fixed 12.6.1Source events (semver)
Other versions: unaffected |
OSV GHSA-5793-x2q3-c3q7 |
highchartshighcharts
npm |
≥ 13.0.0; < 13.1.0 (affected, semver); OSV events: introduced 13.0.0; fixed 13.1.0Source events (semver)
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
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: GitHub_M |
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-c3q7CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/highcharts/highcharts/pull/25315CNA: GitHub_M · x_refsource_MISC
- https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72affCNA: GitHub_M · x_refsource_MISC
- https://github.com/highcharts/highcharts/releases/tag/v13.1.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/advisories/GHSA-5793-x2q3-c3q7OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-5793-x2q3-c3q7OSV / GitHub Security Advisories · osv
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/cveshttps://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.