CVE-2025-2798
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 Woffice CRM theme for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 5.4.21. This is due to a misconfiguration of excluded roles during registration. This makes it possible for unauthenticated attackers to register with an Administrator role if a custom login form is being used. This can be combined with CVE-2025-2797 to bypass the user approval process if an Administrator can be tricked into taking an action such as clicking a link.
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 Woffice CRM theme for WordPress contains a critical authentication bypass vulnerability (CVSS 9.8) in all versions up to 5.4.21. The flaw stems from a misconfiguration in the role exclusion logic during user registration, allowing unauthenticated attackers to register directly with Administrator privileges when a custom login form is deployed. This can be chained with CVE-2025-2797 to bypass any user approval workflow.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 5.4.22CVSS 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
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
-
Check Woffice theme versionIn WordPress admin, go to Appearance > Themes and locate Woffice. The version number is displayed on the theme card. Alternatively, check the style.css file in wp-content/themes/woffice/ for the 'Version:' comment header.Affected if Version is lower than 5.4.22 (for example, 5.4.21, 5.4.20, etc.)
-
Verify if user registration is enabledIn WordPress admin, go to Settings > General and check 'Membership: Anyone can register' is checked. Then check if a custom login/registration form shortcode (such as [woffice_login] or [woffice_register]) is present on a page, or if a plugin like Woffice Login/Registration is configured to allow public registration.Affected if Anyone can register is enabled AND a custom Woffice login/registration form is in use on the site
-
Inspect Administrator accounts for legitimacyIn WordPress admin, go to Users > All Users. Review every account with the Administrator role. For each, verify the email address and creation date by clicking the username to view details. Cross-reference the creation date with known internal users and IT records.Affected if There exists an Administrator account that was not created by a known internal administrator, or the account email does not match your organization's domain or known users
-
Check for recently created high-privilege accountsIn WordPress admin, go to Users > All Users. Sort by 'Registered' column if available, or query the wp_users table directly: SELECT ID, user_login, user_email, user_registered FROM wp_users WHERE user_registered > DATE_SUB(NOW(), INTERVAL 30 DAY). Cross-reference creation times with your internal activity logs.Affected if Any Administrator-level account was registered within the past 30 days and you did not create it yourself
You are affected if Woffice version is below 5.4.22, user registration is enabled with a custom login form, AND there are unauthorized Administrator accounts in your WordPress users table.
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 · scoped5.4.22
Update Woffice CRM theme to version 5.4.22 or later to patch the role misconfiguration. As an immediate step, disable custom login forms, audit all administrator accounts for unauthorized access, and review user registration logs for signs of exploitation.
Woffice 5.4.22
- Backup your WordPress site before making any changes
- Update the Woffice theme to version 5.4.22
- Verify the update was successful by checking the theme version in WordPress admin
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-2798 — 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-2025-2798 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