Slimbox 1.0.8以下 - コメントのアンカーのtitle属性を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/19 06:43 / 元情報の更新:2026/11/19 20:31(日本時間)
日本語訳
WordPress用プラグイン「Slimbox」は、1.0.8以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、comment(コメントHTML内のアンカーのtitle)パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
WordPressコアのコメント用KSESは、認証されていないコメント投稿者によるhrefとtitle属性付きのアンカー要素の投稿を許可します。そのため、title属性へ保存されたエンティティエンコード済みのペイロードは、サニタイズ後もそのまま残ります。その後、ブラウザーがDOMの.titleプロパティへ値を設定するときにエンティティをデコードし、SlimboxライブラリーのjQuery .html()によるキャプション出力先が実行可能なHTMLとして描画します。
原文(英語)
Slimbox <= 1.0.8 - Unauthenticated Stored Cross-Site Scripting via Comment Anchor title Attribute
The Slimbox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment (anchor title within comment HTML)' parameter in all versions up to, and including, 1.0.8 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 unauthenticated commenters to post anchor elements with href and title attributes, so an entity-encoded payload stored in the title attribute survives sanitization verbatim; the browser then decodes the entities when populating the DOM .title property, and the Slimbox library's jQuery .html() caption sink renders it as executable HTML.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
修正版が未確認の製品は、まず提供元の最新情報を確認してください。記事の取得時点より後に修正版が公開されている場合があります。
プラグインの代替を探す場合は、必要な機能と既存データの移行方法を確認してください。削除前にバックアップを確保し、代替製品の動作を検証してください。