CVE-2026-3368 Injection Guard <= 1.2.9 - Unauthenticated Stored Cross-Site Scripting via Query Parameter Name

High 7.2 Published Updated

Unauthenticated attackers can inject scripts via query parameters that execute in the admin log page, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-3368?

CVE-2026-3368 is a high-severity cross-site scripting vulnerability in fahadmahmood Injection Guard, published on 20 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-3368?

How do I fix CVE-2026-3368?

No fix has been published for CVE-2026-3368 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-3368 being exploited?

There is no known exploitation of CVE-2026-3368 in the wild and no public exploit code.

Sources

Also known as GHSA-9hg7-qjwm-hfxv.

Is CVE-2026-3368 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free