# CVE-2026-15439: GamiPress SQL Injection in wpForo AJAX selector

Source: https://junglewise.ai/threats/cve-2026-15439-gamipress-sql-injection-in-wpforo-ajax-selector  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-11. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-15439 · Severity: medium · CVSS 6.5 · Published 2026-09-11

GamiPress is a popular WordPress plugin that adds gamification features (points, badges, leaderboards) to WordPress sites. An authenticated attacker with a Subscriber account can exploit a SQL injection flaw in the wpForo integration to read or modify database contents, potentially exposing sensitive site data or user information. The vulnerability requires only basic site access and can be exploited using publicly visible nonces.

Technologies: [GamiPress](https://junglewise.ai/threats/technologies/gamipress). Vendors: [GamiPress](https://junglewise.ai/threats/vendors/gamipress).

## Quick answers

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

**How severe is CVE-2026-15439?** Medium severity, with a CVSS score of 6.5, published 11 September 2026.

**Which products and versions are affected?** GamiPress up to and including 7.9.7.

**Is there a fix for CVE-2026-15439?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-15439 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-15439?** Check whether you run GamiPress at an affected version. 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 boolean-based SQL injection in the 'q' parameter of the gamipress_wpforo_get_posts AJAX action. The vulnerable code passes user input through $wpdb->esc_like() but then directly interpolates it into a single-quoted LIKE clause without using $wpdb->prepare() with %s placeholders. Because esc_like() doubles backslashes after WordPress magic quotes, an attacker can inject a backslash-quote sequence that MySQL interprets as a literal backslash followed by a closing quote, breaking out of the LIKE clause. The attack requires an authenticated Subscriber account (the lowest user role) and a valid gamipress_admin nonce that is exposed on all WordPress admin pages. The wpForo plugin must be active to register the vulnerable AJAX callback, but no wpForo-specific vulnerability is exploited. Patches should use proper parameterized queries with $wpdb->prepare().

## Affected products

- GamiPress GamiPress up to and including 7.9.7

## Timeline

- 2026-09-11: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.3/integrations/wpforo/includes/functions.php](https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.3/integrations/wpforo/includes/functions.php)
- [https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.3/integrations/wpforo/includes/functions.php](https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.3/integrations/wpforo/includes/functions.php)

## Related threats

- [GamiPress SQL Injection via Gravity Forms field parameter](https://junglewise.ai/threats/cve-2026-121792-the-gamipress-gamification-plugin-to-reward-points-badges-ranks)
- [GamiPress stored cross-site scripting in video_id parameter](https://junglewise.ai/threats/cve-2026-14379-the-gamipress-gamification-plugin-to-reward-points-achievements)
- [GamiPress SQL injection in REST API](https://junglewise.ai/threats/cve-2026-94177-unauthenticated-sql-injection-in-gamipress-8-0-2-versions)
- [GamiPress arbitrary user points and achievement award via video watch tracking](https://junglewise.ai/threats/cve-2026-77764-gamipress-arbitrary-user-points-and-achievement-award-via-video)
- [GamiPress WordPress plugin stored XSS in gamipress_rank shortcode](https://junglewise.ai/threats/cve-2026-16091-gamipress-wordpress-plugin-stored-xss-in-gamipress-rank-shortcode)
