Simple Colorbox <= 1.6.2 - 認証不要の保存型クロスサイトスクリプティング(コメント内アンカーの 'title' 属性を介して)
元情報の公開:2026-12-01 22:32:33 / 更新:2026-12-02 11:30:11(UTC)
日本語訳
WordPress 用 Simple Colorbox プラグインは、入力のサニタイズと出力のエスケープが不十分なため、1.6.2 を含むそれ以前のすべてのバージョンにおいて、'comment' パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。この脆弱性により、認証不要な攻撃者が任意のウェブスクリプトをページに注入でき、ユーザーがそのページにアクセスした際にスクリプトが実行されます。
WordPress コアのコメント kses は title 属性を持つ <a> タグを許可し、その中のエンティティエンコードされた内容を保持するため、<img src=x onerror=...> のようなペイロードは保存時のサニタイズを通過します。ブラウザはレンダリング時に属性を生の DOM の .title プロパティにデコードするため、保存時のエンコードをバイパスして .html() のシンクに到達します。実際に悪用するには管理者による操作が別途必要であり、攻撃者だけで脆弱性を発動させることはできません。
原文(英語)
Simple Colorbox <= 1.6.2 - Unauthenticated Stored Cross-Site Scripting via Anchor 'title' Attribute in Comments
The Simple Colorbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.6.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core comment kses permits the <a> tag with a title attribute and preserves entity-encoded content within it, so a payload such as <img src=x onerror=...> survives save-time sanitization; the browser decodes the attribute into the raw DOM .title property at render time, bypassing the save-time encoding before it reaches the .html() sink. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。