{"id":"CVE-2026-14250","aliases":["CVE-2026-14250"],"related":[],"kind":"vulnerability","state":"published","title":"Themehunk Login Registration <= 1.0.2 - Unauthenticated Privilege Escalation via 'role' Parameter","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-08T11:30:33.205Z","modified":"2026-07-08T14:55:07.843Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.2","status":"affected"}],"vendor":"themehunk","product":"TH Login Registration","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/8eee3809-133e-4fd9-ad49-cc6fe3822457?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L811","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L782","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/themehunk-login-registration/tags/1.0.2/includes/class-thlogin-rest-api.php#L243","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3592690%40themehunk-login-registration&new=3592690%40themehunk-login-registration","tags":[],"sources":["cvelist","nvd"]}],"credits":["Trung Huynh Chi"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-08T12:37:59.763Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-14250","url":"https://www.cve.org/CVERecord?id=CVE-2026-14250","licence":"CVE Terms of Use","modified":"2026-07-08T12:38:09.291Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-14250","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14250","licence":"Public domain","modified":"2026-07-08T14:55:07.843Z"}],"updatedAt":"2026-11-25T22:59:27.356Z","epss":{"score":0.00209,"percentile":0.11707,"date":"2026-12-01T12:00:22.000Z"}}