WP Photo Album Plus <= 9.3.07.003 - 認証済み(購読者以上) コメントフィールドを介した保存型クロスサイトスクリプティング
元情報の公開:2026-12-02 18:25:35 / 更新:2026-12-02 18:25:35(UTC)
日本語訳
WP Photo Album Plus プラグインは、入力のサニタイズと出力エスケープが不十分であるため、'data.comment' パラメータを通じた保存型クロスサイトスクリプティングの脆弱性があります。バージョン 9.3.07.003 まで(含む)すべてのバージョンが対象です。認証済みの攻撃者(購読者レベル以上)は任意のウェブスクリプトをページに埋め込むことができ、ユーザーがそのページを閲覧するとスクリプトが実行されます。
二重エンコードされたエンティティのバイパスが可能なのは、wp_kses_post() と esc_js() が保存された &amp;#39; をそのまま保持し、続く wppa_compress_html() の書き換え処理でブラウザがデコードしたリテラルのシングルクオートに変換され、JavaScript 文字列から抜け出せるためです。脆弱性を実際に利用するには管理者の操作が別途必要で、攻撃者だけでトリガーすることはできません。
原文(英語)
WP Photo Album Plus <= 9.3.07.003 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Field
The WP Photo Album Plus plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data.comment' parameter in all versions up to, and including, 9.3.07.003 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. The double-encoded entity bypass works because wp_kses_post() and esc_js() both preserve the stored &amp;#39; value intact, and it is only the subsequent wppa_compress_html() rewrite pass that collapses it to a browser-decoded literal single quote capable of breaking out of the JavaScript string. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。