# CVE-2026-77790: RegistrationMagic WordPress plugin SQL injection via rm_sortby parameter

Source: https://junglewise.ai/threats/cve-2026-77790-registrationmagic-wordpress-plugin-sql-injection-via-rm-sortby  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-26. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-77790 · Severity: medium · CVSS 5.5 · Published 2026-08-26

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.

## Quick answers

**Is CVE-2026-77790 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-77790 being exploited in the wild.

**How severe is CVE-2026-77790?** Medium severity, with a CVSS score of 5.5, published 26 August 2026.

**Which products and versions are affected?** RegistrationMagic RegistrationMagic before 6.0.9.4.

**Is there a fix for CVE-2026-77790?** A patch was published on 2026-08-26: Fixed in version 6.0.9.4 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-77790 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-77790?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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

## References

- [https://wpscan.com/vulnerability/42c48c95-1384-4414-9236-64f44bea9027/](https://wpscan.com/vulnerability/42c48c95-1384-4414-9236-64f44bea9027/)
