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

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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 to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-10-28T18:02:46.576Z
- Modified: 2026-11-02T21:17:26.297Z
- Also known as: GHSA-5793-x2q3-c3q7
- Related: CVE-2026-107588
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- highcharts highcharts: < 11.4.9; >= 12.0.0, < 12.6.1; >= 13.0.0, < 13.1.1
- highcharts (npm): before 11.4.9; from 12.0.0 before 12.6.1; from 13.0.0 before 13.1.0

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/highcharts/highcharts/security/advisories/GHSA-5793-x2q3-c3q7> (web)
- <https://github.com/highcharts/highcharts/pull/25315> (web)
- <https://github.com/highcharts/highcharts/commit/9534773d0f41400aac0945bf8aaebc38dfc72aff> (web)
- <https://github.com/highcharts/highcharts/releases/tag/v13.1.0> (web)
- <https://github.com/highcharts/highcharts> (package)

## Sources

- CVE List: [CVE-2026-118251](https://www.cve.org/CVERecord?id=CVE-2026-118251), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-5793-x2q3-c3q7](https://github.com/advisories/GHSA-5793-x2q3-c3q7), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118251](https://nvd.nist.gov/vuln/detail/CVE-2026-118251), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-118251 · Whole record: https://cve.day/CVE-2026-118251.json · Rebuilt by cve.day 2026-11-25T22:59:47.664Z
