PT-2026-56396 · Themehunk · Th Login Registration

Published

2026-07-08

·

Updated

2026-07-08

·

CVE-2026-14250

CVSS v3.1

6.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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.

Fix

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-14250

Affected Products

Th Login Registration