Passster 4.3.21以下 - 'metavalue'パラメーターを介した認証済み(寄稿者以上)の格納型クロスサイトスクリプティング
元情報の公開:2026/11/13 05:48 / 元情報の更新:2026/11/13 18:35(日本時間)
日本語訳
WordPress用プラグイン「Passster – Password Protect Pages and Content」の4.3.21以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、metavalue(metakeyinput=passster_id | passster_headline)パラメーターを介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、寄稿者以上の権限を持つ認証済みの攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
寄稿者は、passster_idまたはpassster_headlineのメタ値に]文字を埋め込んで開始ショートコードタグを途中で閉じ、ショートコード属性の範囲から抜け出せます。その後に[/passster]終了タグを追加することで、後続のHTMLペイロードがdo_shortcode()によってそのまま出力され、render_shortcode()内で行われる属性ごとのエスケープを回避します。また、filter_the_content()には編集権限の確認がないため、編集者や管理者が寄稿者の承認待ち投稿をプレビューしたときにも、そのブラウザーでスクリプトが実行されます。
原文(英語)
Passster <= 4.3.21 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'metavalue' Parameter
The Passster – Password Protect Pages and Content plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (metakeyinput=passster_id | passster_headline)' parameter in all versions up to, and including, 4.3.21 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A Contributor can break out of the shortcode attribute context by embedding a ] character in the passster_id or passster_headline meta value to prematurely close the opening shortcode tag, then append a [/passster] closing tag so that the trailing HTML payload is emitted verbatim by do_shortcode() — bypassing the per-attribute escaping present inside render_shortcode() — and the script will also execute in an editor's or administrator's browser when they preview the Contributor's pending post, since filter_the_content() has no edit-permission capability gate.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。