CVE-2026-14250: CWE-269 Improper Privilege Management in themehunk TH Login Registration
The Themehunk Login Registration plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 1.0.2. This is due to the handle_frontend_register() function in the unauthenticated /thlogin/v1/register REST endpoint accepting a user-controlled 'role' parameter and validating it only against get_editable_roles() — which returns every defined editable site role, including 'editor' — before passing it to wp_insert_user(). This makes it possible for unauthenticated attackers, when public user registration is enabled, to create new accounts with the editor role.
AI Analysis
Technical Summary
CVE-2026-14250 is a privilege escalation vulnerability in the Themehunk Login Registration plugin for WordPress. The vulnerability arises from the handle_frontend_register() function in the unauthenticated /thlogin/v1/register REST endpoint, which accepts a 'role' parameter from users. This parameter is validated only against get_editable_roles(), which includes all editable roles such as 'editor'. Consequently, attackers can register new accounts with elevated privileges without authentication, assuming public user registration is enabled. The vulnerability affects versions up to and including 1.0.2.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to create new user accounts with elevated privileges (e.g., editor role) on a WordPress site using the vulnerable plugin with public registration enabled. This could lead to unauthorized content modification and other actions permitted to users with the editor role. The CVSS 3.1 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality, integrity, and availability at a low level.
Mitigation Recommendations
No official patch or remediation is currently confirmed. Users should check the vendor advisory for updates. Until a fix is available, it is recommended to disable public user registration or restrict access to the /thlogin/v1/register endpoint to trusted users only to prevent exploitation.
CVE-2026-14250: CWE-269 Improper Privilege Management in themehunk TH Login Registration
Description
The Themehunk Login Registration plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 1.0.2. This is due to the handle_frontend_register() function in the unauthenticated /thlogin/v1/register REST endpoint accepting a user-controlled 'role' parameter and validating it only against get_editable_roles() — which returns every defined editable site role, including 'editor' — before passing it to wp_insert_user(). This makes it possible for unauthenticated attackers, when public user registration is enabled, to create new accounts with the editor role.
CVSS v3.1
Score 6.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-14250 is a privilege escalation vulnerability in the Themehunk Login Registration plugin for WordPress. The vulnerability arises from the handle_frontend_register() function in the unauthenticated /thlogin/v1/register REST endpoint, which accepts a 'role' parameter from users. This parameter is validated only against get_editable_roles(), which includes all editable roles such as 'editor'. Consequently, attackers can register new accounts with elevated privileges without authentication, assuming public user registration is enabled. The vulnerability affects versions up to and including 1.0.2.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to create new user accounts with elevated privileges (e.g., editor role) on a WordPress site using the vulnerable plugin with public registration enabled. This could lead to unauthorized content modification and other actions permitted to users with the editor role. The CVSS 3.1 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality, integrity, and availability at a low level.
Mitigation Recommendations
No official patch or remediation is currently confirmed. Users should check the vendor advisory for updates. Until a fix is available, it is recommended to disable public user registration or restrict access to the /thlogin/v1/register endpoint to trusted users only to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-30T14:19:53.767Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4e3f0ac9d9e3dbe30d1c59
Added to database: 07/08/2026, 12:14:02 UTC
Last enriched: 07/08/2026, 12:28:48 UTC
Last updated: 07/08/2026, 13:25:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.