Injection Guard <= 1.2.9 - Unauthenticated Stored Cross-Site Scripting via Query Parameter Name
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.
CVE-2026-3368 is a high severity with CVSS 7.2 Stored Cross-Site Scripting issue affecting the Plugin Injection Guard. It affects Versions up to 1.2.9 and is fixed in 1.3.0.
CVE-2026-3368 is tracked for the Plugin Injection Guard as high severity with CVSS 7.2. The affected range is Versions up to 1.2.9. Update Injection Guard to 1.3.0 or newer where that version is compatible with the site.
| Software Type | Plugin |
|---|---|
| Software Slug |
injection-guard
View on wordpress.org
|
| CVE | CVE-2026-3368 |
| Patched Versions |
1.3.0
|
| Affected Versions |
Versions up to 1.2.9
|
Related CVEs for Injection Guard
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
Injection Guard <= 1.2.7 - Reflected Cross-Site Scripting
Injection Guard <= 1.2.1 - Missing Authorization via ig_update
Injection Guard <= 1.2.1 - Missing Authorization to Whitelist Update
Injection Guard <= 1.2.1 - Cross-Site Request Forgery via ig_update
Injection Guard <= 1.2.1 - Cross-Site Request Forgery to Whitelist Update
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more