CVE-2026-14250
Themehunk Login Registration <= 1.0.2 - Unauthenticated Privilege Escalation via 'role' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- themehunk TH Login Registration
through 1.0.2
References 6
plugins.trac.wordpress.org
- browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L811
- browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L782
- browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L82
- browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L243
- changeset?reponame=&old=3592690%40themehunk-login-registration&new=3592690%40themehunk-login-registration