CVE-2026-4004
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe Task Manager plugin for WordPress is vulnerable to arbitrary shortcode execution via the 'search' AJAX action in all versions up to, and including, 3.0.2. This is due to missing capability checks in the callback_search() function and insufficient input validation that allows shortcode syntax (square brackets) to pass through sanitize_text_field() and be concatenated into a do_shortcode() call. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes on the site by injecting shortcode syntax into parameters like 'task_id', 'point_id', 'categories_id', or 'term'.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Task Manager plugin for WordPress has an arbitrary shortcode execution vulnerability in versions up to 3.0.2. The AJAX 'search' action lacks proper capability checks, allowing Subscriber-level users to inject shortcode syntax via parameters like 'task_id', 'point_id', 'categories_id', or 'term'. Since sanitize_text_field() doesn't strip square brackets, the input reaches do_shortcode() and executes arbitrary shortcodes.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Task Manager plugin versionIn WordPress admin, go to Plugins > Installed Plugins, locate Task Manager, and note the version number displayed. Alternatively, check the plugin's main PHP file for the 'Version' header comment.Affected if The version is 3.0.2 or lower (any version up to 3.0.2 is affected).
-
Confirm subscriber-level user accounts existNavigate to Users > All Users in the WordPress admin panel. Review the role column to identify any users assigned the Subscriber role.Affected if At least one user with the Subscriber role exists in the WordPress installation.
-
Verify the AJAX search action is accessibleInspect the plugin's PHP code for the AJAX registration of the 'search' action (typically via add_action('wp_ajax_...' or wp_ajax_nopriv_...). Check if the callback function 'callback_search()' is publicly accessible without authentication.Affected if The AJAX 'search' action is registered without requiring authentication or higher-level capabilities.
-
Check for capability checks in the search callbackLocate the callback_search() function in the plugin code. Examine whether it performs any capability checks (such as current_user_can('edit_posts') or similar) before processing the request.Affected if The callback_search() function lacks capability checks and executes without verifying user permissions.
-
Inspect parameter handling for shortcode injection vectorsReview how the parameters 'task_id', 'point_id', 'categories_id', and 'term' are processed in the search callback. Verify whether sanitize_text_field() is applied without additional shortcode-stripping logic.Affected if These parameters pass unsanitized input directly to do_shortcode() or similar evaluation functions.
A user is affected if the Task Manager plugin version is 3.0.2 or lower, subscriber-level accounts exist, and the AJAX search action is accessible without proper capability checks, allowing shortcode injection.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply a patch that adds capability checks (e.g., 'edit_posts' or higher) to the callback_search() function and implements input validation that strips shortcode syntax before passing to do_shortcode(), or update to the patched version when available.
Task Manager plugin version 3.0.3 or later
- Log in to WordPress admin dashboard
- Navigate to Plugins > Installed Plugins
- Locate the 'Task Manager' plugin
- Check if an update is available (version should be higher than 3.0.2)
- If update available, click 'Update Now' to install the latest version
- If no update shown, manually download the latest version from wordpress.org/plugins/cm-task-manager/ and upload via Plugins > Add New > Upload Plugin
- After update, verify the plugin version is newer than 3.0.2
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-4004 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-4004 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data