Ad Inserter – Ad Manager & AdSense Ads 2.8.19以下 - 認証不要の任意ショートコード実行

元情報の公開:2026/11/17 09:00 / 元情報の更新:2026/11/19 00:07(日本時間)

日本語訳

WordPress用プラグイン「Ad Inserter – Ad Manager & AdSense Ads」は、2.8.19以下のすべてのバージョンで、コンテンツインジェクションの脆弱性があります。検索クエリなどのユーザーが制御するデータをpreg_replaceで広告ブロックのテンプレートへ代入する際にサニタイズしていないため、角括弧が通過してWordPressのショートコードとして解釈されることが原因です。認証されていない攻撃者が広告ブロックの内容へ任意のショートコードを挿入し、いずれかのページで広告ブロックが描画されたときに実行させられます。

原文(英語)

Ad Inserter – Ad Manager & AdSense Ads <= 2.8.19 - Unauthenticated Arbitrary Shortcode Execution

The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Content Injection in all versions up to, and including, 2.8.19. This is due to missing sanitization of user-controlled data (such as the search query) substituted into ad block templates via preg_replace, allowing square bracket characters to be passed through and interpreted as WordPress shortcodes. This makes it possible for unauthenticated attackers to inject arbitrary shortcodes into ad block content, causing them to execute when the ad block is rendered on any page.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る