# GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI <= 8.1.1 - Authenticated (Subscriber+) SQL Injection via Multi-Value Form Field Submissions

- **ID:** WPSEC-2026-2695
- **Plugin:** GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI (`gamipress`), https://wordpress.org/plugins/gamipress/
- **Affected versions:** from 2.6.3 before 8.1.2
- **Fixed in:** 8.1.2 (Update to 8.1.2 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-89
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-11-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gamipress
- **Fix released:** 2026-11-06
- **Published:** 2026-11-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2695/

## Description

The GamiPress plugin for WordPress is vulnerable to SQL Injection via multi-value form field submissions processed by its bundled form integrations (such as Forminator, Formidable Forms, Gravity Forms, WS Form, Elementor and Divi forms) in versions 2.6.3 up to, and including, 8.1.1. This is due to the gamipress_query_logs() function placing each element of an array-type log field or log meta value directly into an SQL IN() clause without escaping or prepared statements: string values were only wrapped in single quotes and integer values were not cast. When a logged-in user submits a form, the submitted field value is used to count that user's earlier events. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL to existing queries and extract sensitive information from the database. The site must have a supported form plugin active and a published GamiPress requirement that uses one of that plugin's "submit a specific field value" triggers.

Also published later by wordfence as CVE-2026-121792.

## References

- https://wpsec.com/vuln/WPSEC-2026-2695/
- https://plugins.svn.wordpress.org/gamipress/tags/8.1.2/
- https://wordpress.org/plugins/gamipress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2695/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
