Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3368: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fahadmahmood Injection Guard

0
High
VulnerabilityCVE-2026-3368cvecve-2026-3368cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 23:25:10 UTC)
Source: CVE Database V5
Vendor/Project: fahadmahmood
Product: Injection Guard

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 22:07:53 UTC

Technical Analysis

CVE-2026-3368 is a stored Cross-Site Scripting vulnerability in the Injection Guard WordPress plugin (up to version 1.2.9). The sanitize_ig_data() function fails to sanitize array keys from query parameters, which are captured from the URL query string, URL-decoded, and stored via update_option('ig_requests_log'). These keys are then output in the admin log page without proper escaping, enabling script injection. The vulnerability allows unauthenticated remote attackers to execute arbitrary JavaScript in the context of the WordPress admin interface when viewing the Injection Guard logs.

Potential Impact

An unauthenticated attacker can inject and store malicious scripts that execute in the administrator's browser when they view the Injection Guard log page. This can lead to session hijacking, privilege escalation, or other attacks limited to the admin context. The CVSS score of 7.2 reflects high severity with network attack vector, no privileges required, no user interaction, and impact on confidentiality and integrity but not availability.

Mitigation Recommendations

No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, administrators should avoid viewing the Injection Guard log page or restrict access to trusted users only. Monitoring for plugin updates and applying them promptly when available is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-27T21:15:02.411Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bdda56b462d409683a8bf4

Added to database: 3/20/2026, 11:37:58 PM

Last enriched: 4/9/2026, 10:07:53 PM

Last updated: 5/2/2026, 6:43:09 AM

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses