CVE-2026-2126
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 User Submitted Posts – Enable Users to Submit Posts from the Front End plugin for WordPress is vulnerable to Incorrect Authorization in all versions up to, and including, 20260113. This is due to the `usp_get_submitted_category()` function accepting user-submitted category IDs from the POST body without validating them against the admin-configured allowed categories stored in `usp_options['categories']`. This makes it possible for unauthenticated attackers to assign submitted posts to arbitrary categories, including restricted ones, by crafting a direct POST request with manipulated `user-submitted-category[]` values, bypassing the frontend category restrictions.
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 User Submitted Posts WordPress plugin fails to validate user-submitted category IDs against admin-configured allowed categories in the `usp_get_submitted_category()` function. This allows unauthenticated attackers to bypass frontend restrictions by submitting arbitrary category IDs via the `user-submitted-category[]` POST parameter, enabling assignment of posts to restricted categories.
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
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.
-
Verify the User Submitted Posts plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for 'User Submitted Posts', or check for the plugin directory at /wp-content/plugins/user-submitted-posts/Affected if The plugin is installed and active in WordPress
-
Determine the installed plugin versionCheck the plugin header in the main PHP file (user-submitted-posts.php) for the Version comment, or view the plugin details in the WordPress plugin repositoryAffected if The version is within the affected range and lacks the patched validation logic
-
Identify if category restrictions are configuredNavigate to the plugin settings (User Submitted Posts > Settings) and check if the 'Allowed Categories' option is set to restrict frontend category selectionAffected if Admin has configured allowed categories but the plugin does not validate submitted category IDs against this list
-
Inspect the usp_get_submitted_category() functionLocate the function in the plugin PHP files (typically user-submitted-posts.php or includes/usp-functions.php) and examine if it validates submitted category IDs against the allowed categories stored in usp_options['categories']Affected if The function processes category IDs from the user-submitted-category[] POST parameter without verifying they are in the admin-approved list
-
Test the vulnerable parameterSubmit a POST request to the frontend post submission form with user-submitted-category[] containing a category ID that should be restricted, and verify if the post gets assigned to that categoryAffected if Posts can be assigned to categories outside the admin-configured allowed categories
A user is affected if the plugin is active with category restrictions configured but the code does not validate submitted category IDs against the allowed list in usp_options['categories'].
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 · scopedImplement server-side validation to verify submitted category IDs match the allowed categories stored in `usp_options['categories']` before processing, and update to the latest patched version when available.
Latest version after 20260113 (check WordPress plugin repository for version with security fix)
- Navigate to the WordPress admin dashboard
- Go to Plugins > Installed Plugins
- Locate the 'User Submitted Posts' plugin
- Check if an update is available and update to the latest version
- Alternatively, download the latest version from the WordPress plugin repository and upload via Plugins > Add New > Upload Plugin
- Verify the update was successful by checking the plugin version
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-2126 — 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-2126 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