Injection Guard
Blocks malicious and unknown query-string requests, detects injection attempts, and audits user capabilities and sessions.
Solide Wahl
Injection Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 1 month ago, and scores 78/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 39.3% vs the previous 30 days
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Injection Guard stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| anti-hacking | #2 |
| firewall | #88 |
| Sicherheit | >100 |
| sql-injection | #1 |
| WordPress-Sicherheit | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 5 reviews
About Injection Guard
From the official readme · v1.4.0Beschreibung
Author: Fahad Mahmood
Project URI: https://www.androidbubbles.com/extends/wordpress/plugins/injection-guard
License: GPL v2 or later
Injection Guard is a WordPress plugin designed to block malicious query string attacks and suspicious URL parameters. It logs all incoming attempts, blocks harmful parameters, and adds extra security intelligence to your WordPress admin—like user session tracking and capability audit.
The plugin uses the ig_ prefix for database keys and functions, follows WordPress coding standards, and supports multiple languages. It’s compatible with pretty permalinks and helps in securing your site from automated bots and manual attacks.
How it works: Injection Guard learns which query-string parameters your visitors use (only the names, never the values). You mark each one as good or bad from the Log tab; bad parameters are blocked on that URL from then on. New in 1.4: an optional attack-signature scan, a global blacklist, safe-parameter patterns, a blocked-requests list with CSV export, and a dashboard that shows what is happening at a glance.
Pro-Version
Automatic IP ban for repeat offenders, email alerts, a new-administrator watch (also catches accounts created straight in the database), an extended signature set with scanner user-agent blocking, an IP allowlist and a capability-audit CSV export.
Method A (Admin Panel)
- Login to WordPress Admin > Plugins > Add New > Upload Plugin
- Upload the ZIP file and activate the plugin
- Go to Settings > Injection Guard, review the Settings tab and click “Save Settings”
Method B (Manual Upload)
- Download and unzip the plugin package
- Upload the folder to
/wp-content/plugins/injection-guard/ - Activate the plugin from the WordPress Dashboard
- Visit Settings > Injection Guard to configure
Merkmale
- Logs all unique query strings attempting to penetrate your website
- Blocks malicious or unknown query parameters (per URL or on every URL)
- Safe-parameter list with prefix patterns such as
utm_* - Optional attack-signature scan (SQL injection, script injection, path traversal, PHP execution) in “record” or “block” mode
- Blocked-requests list with anonymised IPs, plus CSV export of the log and the blocked list
- Search and filter the log, clear it, or let it forget old entries automatically
- Dashboard with 24-hour counters and the latest blocked requests
- Tracks login, logout, session start and duration per user
- Capability audit report for all WordPress users, with search and a flagged-only filter
- Multi-language support (FR, DE, ES)
- Bootstrap-based admin UI and dashboard
Lizenz
This plugin is free software licensed under the GNU GPL v2 or later.
You should have received a copy of the GNU General Public License along with this plugin. If not, see http://www.gnu.org/licenses/gpl-2.0.html.
Installation
To install Injection Guard, you will need:
– WordPress 5.3 or later (tested up to 7.1)
– PHP 7.2 or later
– FTP/SFTP or hosting control panel access
Änderungsprotokoll
Fixes request logging for visitors, hardens input handling and the log size, removes an unsafe debug export, and adds a signature scan, blocked-requests list and new settings. Tested up to WordPress 7.1.
1.4.0
- Tested up to WordPress 7.1.
- New: attack-signature scan of query strings (off / record / block).
- New: Blocked tab and blocked-requests list (anonymised IPs, rate-limited writes) with CSV export; log CSV export.
- New: Settings tab: safe parameters (prefix patterns), global blacklist, 404 or 403 response, log limits and retention, proxy / CDN IP header choice, administrator exemption.
- New: dashboard counters, log search and filters, clear-log button, capability audit search with flagged-only filter and last-login column.
- New (Pro): automatic IP ban, email alerts, new-administrator watch, extended signatures and scanner user agents, IP allowlist, capability audit CSV.
- Fix: the request log was overwritten by every visit of a non-administrator, so logging only worked while an administrator was browsing. Logging now works for all visitors.
- Fix: bulk whitelist / blacklist saved the wrong URL for paths containing a slash; single actions and bulk actions now share the same normalisation.
- Fix: the capability audit table never filled because its rows were parsed outside a table; the endpoint now returns JSON. A stray global
table {}style was removed from the admin. - Fix: block check and log compared different spellings of a parameter (for example
Fooandfoo); both are now normalised, as are encoded and dot-segment paths, so such variations no longer slip past a blacklist. - Fix: block page no longer renders blank on block themes or themes without a 404 template.
- Security: bounded the log (parameters per request, per URL, name length) so a flood of random query strings cannot bloat the database; the log is no longer autoloaded and is written only when something changes.
- Security: visitor IP now uses REMOTE_ADDR unless a trusted proxy header is selected (forwarded headers can be forged); the IP history per user is capped.
- Security: removed the dashboard
?hashdebug export that wrote customer email hashes and password hashes to a file in the plugin folder; any leftoverab-hash.datis deleted on update. - Security: AJAX handlers answer with JSON errors, validate every input, and settings are saved through a nonce-protected admin-post handler; CSV exports neutralise spreadsheet formulas; the debug helper
pree()is restricted to administrators and escapes its output. - Fix: WooCommerce customer table no longer needs WooCommerce to be installed, works with HPOS orders, and escapes all output; external geolocation lookups are cached, time-limited and validated.
- Improvement: no plugin file parsing on public page views; script versions use the plugin version instead of the current time so browsers can cache them.
- Improvement: text domain is now loaded, remaining strings are translatable, an
uninstall.phpremoves the plugin’s data, and privacy-policy text is provided.
1.3.0
- Security: Fixed Stored XSS vulnerability by sanitizing query parameter keys, escaping admin output, improving query handling, and adding a log size limit. [Thanks to Wordfence / 15/03/2026 / Aramsri (Boeing777)].
1.2.9
- Security Fix: Added depth-limited recursive sanitization for all POST/array inputs to prevent possible injection or malformed data attacks. [Thanks to Wordfence / 28/02/2026].
- Security Fix: Enforced stricter nonce and super-admin checks on bulk whitelist/blacklist updates. [Thanks to Wordfence / 28/02/2026].
- Security Fix: Standardized all AJAX JSON responses to use wp_send_json_success() / wp_send_json_error() for safer output. [Thanks to Wordfence / 28/02/2026].
1.2.8
- Security Fix: Escaped
$_SERVER['REQUEST_URI']output to prevent Reflected Cross-Site Scripting (XSS) vulnerability in the admin logs tab. [Thanks to WPScan / 22/07/2025].
1.2.7
- Enhanced security for capability audit with proper nonce validation and admin-only access.
1.2.6
- Added user session tracking, logout history, and capability audit with proper prefixing (
ig_) and textdomain usage. [Thanks to Hila / 10/04/2025]
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Injection Guard alternatives
All anti-hacking plugins →| Rang | Plugin | Aktive Installationen |
|---|---|---|
| 2 |
|
10+ |
Fragen und Antworten
Injection Guard: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Injection Guard free?
Yes. Injection Guard is free to download and use from the official WordPress.org plugin directory.
Is Injection Guard safe to use in 2026?
Injection Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 5/5 and was last updated 1 month ago, and scores 78/100 on our health check.
How many websites use Injection Guard?
Injection Guard is active on 1K+ WordPress websites and has been downloaded 39,422 times since it launched in February 2014. It was downloaded 1,548 times in the last 30 days.
Does Injection Guard work with WordPress 7.1?
Yes. The developer has tested Injection Guard up to WordPress 7.1.5, the latest release. It requires WordPress 5.3 or newer.
What PHP version does Injection Guard need?
Injection Guard requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Injection Guard last updated?
The latest version, 1.4.0, was released on October 31, 2026 (1 month ago).
Who makes Injection Guard?
Injection Guard is developed and maintained by Fahad Mahmood.
What are the best alternatives to Injection Guard?
The most popular alternatives to Injection Guard are Kratos Anti Spam (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


