本文へ移動
English version →
高 8.4

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

CVE-2026-118255 SecPulse初出

概要

Highcharts Gridでは、creditsのリンク先にjavascript:形式のURLを指定できる問題が見つかりました。リンクをクリックすると、そのページの権限でスクリプトが動き、アプリケーションのデータやセッション情報が読み取られるおそれがあります。影響を受けるのは2.0.0から3.2.0までの版で、修正版はGrid Pro 3.2.0です。Highchartsの利用者は、Grid Proを3.2.0以降に更新してください。

AI要約

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

Highcharts Gridでは、creditsのリンク先にjavascript:形式のURLを指定できる問題が見つかりました。リンクをクリックすると、そのページの権限でスクリプトが動き、アプリケーションのデータやセッション情報が読み取られるおそれがあります。影響を受けるのは2.0.0から3.2.0までの版で、修正版はGrid Pro 3.2.0です。Highchartsの利用者は、Grid Proを3.2.0以降に更新してください。

影響パッケージ

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

Impact

An attacker who controls the Grid configuration can set credits.href to a javascript: URL. The value is not validated against an allowed-scheme list before it is applied to the credits link, so activating that link runs attacker-supplied script in the origin of the page hosting the Grid. Exploitation requires that untrusted data reach the Grid configuration and that a user activate the credits link. Script running this way has the same access to page data, storage and session state as the hosting application.

Workarounds

Paste in after the Grid Pro module is imported, before a Grid is created.

const { AST } = Grid;

function sanitize(options) {
    const credits = options && options.credits;

    if (credits && typeof credits.href === 'string') {
        const filtered = AST.filterUserAttributes({ href: credits.href });

        if (!filtered.href) {
            delete credits.href;
        }
    }

    return options;
}

// Both Grid.grid() and grid.update() funnel through loadUserOptions, so one
// hook covers both entry points.
const { prototype } = Grid.Grid;
const loadUserOptions = prototype.loadUserOptions;

prototype.loadUserOptions = function (options, ...rest) {
    sanitize(options);
    return loadUserOptions.call(this, options, ...rest);
};

Obtaining the patched version

The patched releases are available from all the usual distribution channels. With npm, upgrade the affected package to the patched version listed above,…

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

参照URL

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