Where
-Infinity
0
Severity
7.2
EPSS
0.22%
XSS
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

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 sanitizeigdata() function which only sanitizes array values but not array keys, combined with missing output escaping in the igsettings.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['QUERYSTRING'], applies escurlraw() (which preserves URL-encoded special characters like %22, %3E, %3C), then passes it to parsestr() which URL-decodes the string, resulting in decoded HTML/JavaScript in the array keys. These keys are stored via updateoption('igrequestslog') and later rendered without eschtml() or escattr() 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.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203