Vulnerability in GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress — CVE-2026-15439
What to do now
Update GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress to 7.9.8 or later.
Affected versions
- Everything up to and including 7.9.7
Affected: GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress (plugin, gamipress)
What the vulnerability is
The GamiPress plugin for WordPress is vulnerable to authenticated (Subscriber+) SQL Injection via the 'q' parameter of the wpForo integration AJAX selector (action gamipress_wpforo_get_posts) in versions up to, and including, 7.9.7. The value is passed only through $wpdb->esc_like() and interpolated directly into a single-quoted LIKE clause with no %s placeholder. Because esc_like() runs after WordPress core magic quotes, it doubles the injected backslash (\' -> \\'), which MySQL reads as one literal backslash followed by a live closing quote, allowing the attacker to break out of the string and inject boolean-based SQL. The wpForo plugin only needs to be active to register the callback; no wpForo vulnerability is used. Requires a Subscriber account, which can read the gamipress_admin nonce (exposed on every admin page, e.g. /wp-admin/profile.php). Note: the researcher's Simple:Press vectors (PoC 2 & 3) do not reproduce in current code, which uses $wpdb->prepare() with %s placeholders; only the wpForo selector is confirmed.