Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors 4.20.0以下 - ニックネームフィールドを介した認証済みの購読者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 09:23 / 元情報の更新:2026/11/26 21:35(日本時間)
日本語訳
WordPress用プラグイン「Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors」は、4.20.0以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、nicknameパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。購読者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
sanitize_text_field()が<や>のようなエンティティ変換された文字列を変更せずに通すため、購読者は既存の構造の外へ抜け出すペイロードをWordPressのニックネームに保存できます。このペイロードは後でwp_localize_script()によって実際のHTMLマークアップへ復号され、jQueryのreplaceWith()を通じてDOMへ挿入されます。
原文(英語)
Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors <= 4.20.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Nickname Field
The Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'nickname' parameter in all versions up to, and including, 4.20.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because sanitize_text_field() passes entity-encoded sequences such as < and > through unchanged, allowing a Subscriber to store a breakout payload in their WordPress nickname that is later decoded into live HTML markup by wp_localize_script() and injected into the DOM via jQuery's replaceWith().
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。