本文へ移動
English version →
高 8.4

Highcharts Dashboardsに任意のスクリプトを実行される脆弱性

CVE-2026-118252 SecPulse初出

概要

Highcharts Dashboardsの編集モードのサイドバーで、コンポーネントの言語設定が文字ではなくHTMLとして解釈される脆弱性が見つかりました。言語設定を操作できる攻撃者が仕込んだイベントハンドラーが、利用者がサイドバーを開いた時点で実行される可能性があります。影響を受けるのは1.0.0から4.2.2までで、修正版の4.2.3で解消されます。CVSSv4の基本値は8.4です。

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Highcharts Dashboardsの編集モードのサイドバーで、コンポーネントの言語設定が文字ではなくHTMLとして解釈される脆弱性が見つかりました。言語設定を操作できる攻撃者が仕込んだイベントハンドラーが、利用者がサイドバーを開いた時点で実行される可能性があります。影響を受けるのは1.0.0から4.2.2までで、修正版の4.2.3で解消されます。CVSSv4の基本値は8.4です。

影響パッケージ

種類パッケージ影響を受ける版直った版
highcharts highcharts — —
@highcharts dashboards — —
npm @highcharts/dashboards
1.0.0 以上 4.2.3 未満
4.2.3
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Impact

The component language strings shown in the edit mode sidebar are parsed as HTML rather than inserted as text. An attacker who controls those language options can supply markup carrying event handlers, which execute in the origin of the page hosting the dashboard once the sidebar renders the affected labels. Exploitation requires that untrusted data reach the Dashboards language configuration and that a user open the edit mode sidebar.

Workarounds

Until you can upgrade, patch EditMode once at application startup. The hook runs before the sidebar is built, so the labels are already harmless by the time they are rendered. Assigning a string to textContent and reading back innerHTML turns any markup into literal text, which is exactly what the fixed version renders.

After importing the module, use this code snipped once, before any board is created.

{
    const EditMode = window.Dashboards?.EditMode;
    const escapeHTML = (text) => text
        .replace(/&/g, '&')
        .replace(//g, '>');
    const patched = new WeakSet();
    const originalInit = EditMode.prototype.init;

    EditMode.prototype.init = function (...args) {
        const labels = this.lang?.sidebar;

        if (labels && !patched.has(this)) {
            patched.add(this);

            for (const key of Object.keys(labels)) {
                if (typeof labels[key] === 'string') {
                    labels[key] = escapeHTML(labels[key]);
                }
            }…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく