CVE-2026-3368
Injection Guard <= 1.2.9 - Unauthenticated Stored Cross-Site Scripting via Query Parameter Name
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.61%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.5% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 24 Mar 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Injection Guard |
affected up to and including 1.2.9
Other versions: unaffected
|
Is my server affected?
This CVE is in Injection Guard of fahadmahmood, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/15d9817c-910d-4ce1-a5fb-67a2b6580e16?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L94 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L120 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L121 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L121 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L120 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L124 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L124 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L94 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L105 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L105 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L8 plugins.trac.wordpress.org
6 more
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L8 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L153 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L153 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L49 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L49 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3482741%40injection-guard&new=3482741%40injection-guard&sfp_email=&sfph_mail= plugins.trac.wordpress.org
Source: the record CVE-2026-3368 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse