CVE-2026-3368
Injection Guard に報告された脆弱性
概要
The Injection Guard plugin for WordPress is vulnerable to Stored Cross-Site Scripting via malicious query parameter names in all versions up to and including 1.2.9. This is due to insufficient input sanitization in the sanitize_ig_data() function which only sanitizes array values but not array keys, combined with missing output escaping in the ig_settings.php template where stored parameter keys are echoed directly into HTML. When a request is made to the site, the plugin captures the query string via $_SERVER['QUERY_STRING'], applies esc_url_raw() (which preserves URL-encoded special characters like %22, %3E, %3C), then passes it to parse_str() which URL-decodes the string, resulting in decoded HTML/JavaScript in the array keys. These keys are stored via update_option('ig_requests_log') and later rendered without esc_html() or esc_attr() on the admin log page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in the admin log page that execute whenever an administrator views the Injection Guard log interface.
影響を受けるバージョン
- 0以上 〜 1.2.9以下
対処方法
Injection Guard を 1.3.0 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L105
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L153
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L49
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L8
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L94
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L120
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L121
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L124