Executive brief
RegistrationMagic is a popular WordPress plugin for building custom registration and form management features. A SQL injection vulnerability in the Form Manager page allows authenticated administrators to execute arbitrary SQL queries and extract sensitive database data, including user password hashes. Although exploitation requires administrator privileges, the lack of CSRF protection means an attacker can trick a logged-in admin into triggering the attack.
Technical details
The vulnerability is a SQL injection (SQLi) flaw in the rm_sortby parameter processed by the Form Manager admin page. The plugin fails to sanitize and escape user input before incorporating it into a SQL ORDER BY clause, allowing attackers to inject arbitrary SQL syntax. Exploitation requires an authenticated user with administrator role (or equivalent Form Manager access), and can be delivered via GET requests without CSRF tokens. An attacker can execute time-based blind SQL injection to extract arbitrary database values, including WordPress user password hashes from the wp_users table. On WordPress multisite networks, a site administrator can extract the Network Super Admin's credentials. The vulnerability was fixed in version 6.0.9.4.
Affected products
- RegistrationMagic RegistrationMagic before 6.0.9.4
Timeline
- 2026-08-24: disclosed
- 2026-08-26: advisory
- 2026-08-26: patched: Fixed in version 6.0.9.4