U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2026-3368 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L105 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L153 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L49 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L8 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L94 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L120 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L121 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L124 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L105 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L153 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L49 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L8 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L94 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L120 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L121 Wordfence
https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L124 Wordfence
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3482741%40injection-guard&new=3482741%40injection-guard&sfp_email=&sfph_mail= Wordfence
https://www.wordfence.com/threat-intel/vulnerabilities/id/15d9817c-910d-4ce1-a5fb-67a2b6580e16?source=cve Wordfence

Weakness Enumeration

CWE-ID CWE Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Wordfence  

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2026-3368
NVD Published Date:
03/20/2026
NVD Last Modified:
03/20/2026
Source:
Wordfence