CVE-2026-116796

Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts

Published Oct 28, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
Highcharts JS is a JavaScript charting library based on SVG. From 10.3.2 until 11.4.9, 12.6.2, and 13.1.1, Highcharts accepts an SVG anchor xlink:href attribute without applying the allowed-scheme check used for href and src. An attacker who controls a chart text option can preserve a javascript URL in serialized chart output. When exported or server-rendered SVG is parsed again and a user activates the link, script runs in the origin of that document. This issue is fixed in 11.4.9, 12.6.2 and 13.1.1.

Analysis

AI-generated

Technical impact

Highcharts JavaScript library versions 10.3.2 through 13.1.1 accept SVG anchor elements whose xlink:href attribute can contain a `javascript:` scheme even though the same scheme is rejected for normal href and src attributes. An attacker who controls chart text can embed such a URL into the serialized chart output. When the chart is exported or server‑rendered as SVG and later re‑parsed by a browser, clicking the link causes the embedded script to run with the page’s origin, enabling XSS attacks such as cookie theft or remote code execution.

Affected Systems

The vulnerability affects the Highcharts JavaScript charting library from versions 10.3.2 through 13.1.1, inclusive of the 11.4.* series, 12.6.2, and 13.1.1. All releases prior to those fixed versions are vulnerable.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity assessment. The exploit requires an attacker to supply a malicious chart that includes the vulnerable attribute and a user to subsequently click the link in the exported SVG. While user interaction is needed, the stored nature of the payload makes it a serious risk for applications that allow user‑generated charts. EPSS is not available, and the vulnerability is not yet listed in CISA KEV, but the medium‑to‑high likelihood of exploitation is evident from the mechanism and the scope of affected versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Highcharts to version 11.4.9, 12.6.2, 13.1.1, or any newer release that includes the fix.
  • If an upgrade cannot be performed immediately, sanitize or strip any `xlink:href` attributes that use the `javascript:` scheme from exported or server‑rendered SVG before providing it to users.
  • Configure a strict Content Security Policy that disallows inline JavaScript and the `javascript:` scheme in URLs, reducing the impact of any remaining Xlink vulnerabilities.

Generated by OpenCVE AI on October 28, 2026 at 18:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mw4f-gj5x-6xr4 Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Highcharts
Highcharts highcharts
Vendors & Products Highcharts
Highcharts highcharts
Type Values Removed Values Added
Description Highcharts JS is a JavaScript charting library based on SVG. From 10.3.2 until 11.4.9, 12.6.2, and 13.1.1, Highcharts accepts an SVG anchor xlink:href attribute without applying the allowed-scheme check used for href and src. An attacker who controls a chart text option can preserve a javascript URL in serialized chart output. When exported or server-rendered SVG is parsed again and a user activates the link, script runs in the origin of that document. This issue is fixed in 11.4.9, 12.6.2 and 13.1.1.
Title Highcharts Core: `javascript:` URL in an `xlink:href` attribute survives text filtering and reaches exported charts
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 29, 2026, 6:34 PM
Reserved
Oct 26, 2026, 9:53 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Oct 29, 2026, 7:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 5:23 PM