WP Cerber Security 10.1
This release brings WP Cerber into the WordPress Command Palette, so you can reach its settings, tabs, and policies from WordPress admin screens with a few keystrokes. We also hardened output handling in log links and email reports, and corrected how WP Cerber identifies users when a user-switching plugin is active. Finally, we fixed a set of quarantine edge cases that could shorten retention, hide files from the Quarantine tab, or restore a file to the wrong location.
Key Highlights
- WP Cerber in the Command Palette. On WordPress 6.9 and later, press Cmd+K or Ctrl+K, type a setting name such as “Limit login attempts”, and land directly on the highlighted setting.
- Composer support. WP Cerber can now be installed and updated with Composer using the official
wpcerber/wp-cerberpackage from Packagist. - A quieter palette on demand. The new “Limit Command Palette suggestions” option keeps WP Cerber commands from crowding the palette on admin screens unrelated to WP Cerber.
- Safer CSV exports. Formula-like values in exported logs are neutralized, so spreadsheet applications do not evaluate them when you open the file.
- Hardened output in email reports and log screens. Logged data is now consistently encoded and escaped in email reports and log filter links.
- Accurate user attribution with user-switching plugins. The Activity log and Traffic Inspector now attribute requests to the account they actually run under. Please review the compatibility note below if custom code passes authentication cookies in a nonstandard way.
- Per-file quarantine retention. Each quarantined file is now kept for the full retention period counted from its own quarantine time.
New Features
Navigate WP Cerber from the WordPress Command Palette
WP Cerber offers many settings across many admin pages and tabs, and finding a specific one used to mean remembering where it lives. Starting with WordPress 6.9, you can open the native WordPress Command Palette (Cmd+K or Ctrl+K) on any admin screen where WordPress loads it and search for a WP Cerber setting by its title, such as “Limit login attempts”, or by its internal ID, such as “limit_attempts”. Results appear in the format WP Cerber: Section > Setting.
Selecting a result opens the corresponding settings tab, scrolls to the setting, and highlights it. This also works when you are already on that tab. Besides individual settings, the palette offers commands for WP Cerber admin tabs, role policies, GEO rules, and log filters.
Search behavior is deterministic by design:
- Exact substring matching. A result appears when its title, section name, or setting ID contains your query as an exact sequence of characters. Matching is case-insensitive and treats spaces and hyphens the same way. Typos and a different word order do not match.
- Anti-clutter filtering. The palette is shared with WordPress core and other plugins, so WP Cerber returns no results for queries shorter than three characters or for generic terms such as “cerber”, “page”, or “settings”. These filters apply only to WP Cerber commands. Commands from WordPress core and other plugins are unaffected.
- Context-aware availability. Only settings actually available on your site are listed. Settings with unmet requirements, such as a PRO license, a newer WordPress version, or a plugin dependency, are left out, along with hidden fields, untitled settings, and options on disabled admin pages.
The commands are available only to users with permission to manage WP Cerber. Selecting a command only navigates to the setting. It never changes the setting’s value.
Limit Command Palette Suggestions
Because WP Cerber adds a command for every admin tab, setting, role policy, GEO rule, and log filter, its suggestions can get in the way when you use the palette for unrelated tasks. A new checkbox, “Limit Command Palette suggestions”, is available in Main Settings > Personal Preferences. When it is enabled:
- On WP Cerber admin pages, all WP Cerber commands are offered as before.
- On other WordPress admin pages, only commands that open WP Cerber admin tabs are offered.
The option is disabled by default, so nothing changes until you turn it on. Note that despite its location under Personal Preferences, it applies to all administrators of the website. It does not affect commands from WordPress itself or other plugins.
Install and Update WP Cerber with Composer
WP Cerber can now be installed and updated with Composer using the official wpcerber/wp-cerber package from Packagist. If you manage your WordPress sites with Composer, you can add WP Cerber as a regular dependency and keep it up to date the same way. Step-by-step instructions are available in our guide: Install and update WP Cerber with Composer.
Breaking Changes
User Identification from Authentication Cookies
WP Cerber now applies stricter rules when it determines the user of a request from WordPress authentication cookies. This change underpins the user-switching fix described in the next section.
Compatibility impact: WP Cerber may no longer identify the request user when plugins or custom code pass WordPress authentication cookies through nonstandard cookie names or HTTP headers. If your site relies on such an integration, check after updating that the Activity log and Traffic Inspector attribute those requests to the expected user.
Security Changes
Correct User Attribution with User-Switching Plugins
When a user-switching plugin was active, WP Cerber could attribute activity to the wrong user. User identification now follows the account a request actually runs under.
What you will see:
- Activity log: events WP Cerber records while an administrator is switched to another user are attributed to that user rather than to the administrator.
- Traffic Inspector: requests made during a switched-off session are logged as anonymous instead of being attributed to the original user.
Accurate attribution is essential for forensics. When you triage an incident, the logs now more accurately show which account a request ran under, or whether it was anonymous.
Hardened Output Escaping in Email Reports and Admin Screens
We hardened the way WP Cerber outputs logged data in email reports and in log filter links in the WordPress admin area.
- Email reports. Logged data and activity count links in email reports are now encoded and escaped consistently, which prevents untrusted data from altering the content of a report.
- Admin screens. Log filter links in the Activity log, on the Users screen, and in the application passwords list are now built with strict encoding, so they open the intended log view.
For ordinary logins and emails, the resulting links are unchanged.
CSV Formula Injection Mitigation in Log Exports
CSV exports of WP Cerber logs now include protection against formula injection, a known class of spreadsheet attacks. Formula-like values are neutralized by prefixing the affected cells with a TAB character in the exported file, so spreadsheet applications such as Microsoft Excel do not evaluate them. Ordinary numeric values remain unchanged, and the original log data in WP Cerber is unaffected. Each CSV export includes a note explaining this behavior, so the extra character does not come as a surprise during analysis.
Admin Experience
Search in English on a Translated Website
On a non-English website, WP Cerber Command Palette commands can now be found by their English phrases in addition to the translated labels. WP Cerber recovers the English originals from the translations WordPress has loaded for the plugin. You can type the English name of a setting even when the admin area displays it in another language.
Reliability Improvements
- Resilient cookie handling. WP Cerber’s authentication cookie handler now copes more robustly with unexpected cookie data.
- Backward-compatible quarantine registry. The quarantine fixes listed below keep the existing restore registry format. Existing records are not rewritten, so the corrected filename recording applies to files quarantined after the update.
Bugfixes
Integrity Scanner Quarantine
The quarantine is where the Integrity Scanner keeps files you remove, so you can review or restore them before they expire. We found several edge cases in how it tracked quarantined files. We have fixed each of them.
- Retention counted from the scan start. The daily cleanup deleted an entire quarantine folder once the start of its scan was older than the configured retention period. Files quarantined later, for example from old scan results, could therefore be kept for less than the configured number of days. The Quarantine tab also displayed a scan-based deletion date next to the actual quarantine time. Retention is now counted from the quarantine time of each file.
- Renamed files missing from the Quarantine tab. When a filename collided with an existing file, the quarantined file was renamed, for example to
same.php.2, while its registry record still saidsame.php. Such files were not listed in the Quarantine tab and could not be restored through it. New records now contain the actual stored filename. - Service files protected. With certain filenames, the Quarantine tab could list an internal service file of the quarantine as a regular quarantined file and allow its deletion. Service files are no longer listed, new quarantined files never use reserved names, and partial cleanup preserves service files while retained files remain.
- Reused filenames. After a restore, a manual deletion, or a partial automatic cleanup, a newly quarantined file could reuse a name still present in the registry. It then inherited the older record’s quarantine date and original path, which could lead to premature deletion or restoration to the wrong location. New files never reuse names recorded in the registry, even when the corresponding files no longer exist. Quarantining the same file repeatedly into the same scan folder now produces successive numeric suffixes.
- Misread registry records. Certain filenames could be misinterpreted, and the recorded original path of a file could be truncated. Malformed records could also trigger an “Undefined array key” warning. Registry records are now parsed correctly.
- Cleanup location. When the WP Cerber folder was unavailable, the daily cleanup could look for quarantined files outside it. The cleanup now stops instead.
- Raw error text in the admin page. An incomplete registry read printed “Error: unexpected I/O Error” directly into the page output. The error is now saved to the diagnostic log, and the affected folder is skipped.
- Invalid quarantine dates. When a recorded date could not be parsed, the Quarantine tab displayed a date around 1970 or “Never”. It now displays the original recorded value, safely HTML-escaped.
- Inflated counters. Duplicate registry records were removed only within the current page, so duplicates elsewhere could inflate the total and the quarantined files counter. Records are now de-duplicated before pagination.
Wonder what WP Cerber got in the previous version?
Review the release note for WP Cerber Security 10.
How to update WP Cerber
We recommend enabling automatic updates to ensure you always have the latest security features and performance improvements: how to enable automatic updates in the plugin settings.
How to install WP Cerber
New to WP Cerber? Follow this step-by-step guide to install WP Cerber on your WordPress.
Have any questions?
If you have a question regarding WordPress security or WP Cerber, ask it in the comments below or find answers on the community forum.
Spotted a bug or glitch?
We’d love to fix it! Share your bug discoveries with us here: Bug Report.




