CVE-2026-3368 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in the Injection Guard plugin for WordPress, affecting all versions up to and including 1.2.9. The issue arises from inadequate input sanitization in the 'sanitize_ig_data()' function, which only sanitizes array values but neglects array keys. This flaw is compounded by a lack of output escaping in the 'ig_settings.php' template, where stored parameter keys are directly echoed into HTML. When a request is made, the plugin captures the query string via the server's 'QUERY_STRING' variable, applies 'esc_url_raw()' (which retains URL-encoded special characters), and then passes it to 'parse_str()', resulting in decoded HTML or JavaScript in the array keys. These keys are stored using 'update_option('ig_requests_log')' and later displayed on the admin log page without proper escaping. Consequently, unauthenticated attackers can inject arbitrary scripts that execute when an administrator views the Injection Guard log interface.
Users are advised to update the Injection Guard WordPress plugin to version 1.3.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 21, 2026CISA-ADP
Assessed Mar 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Injection Guard | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 21, 2026 | New CVE Received | [email protected] |
Volerion