Vulnerabilities / GamiPress / WPSEC-2026-3263

GamiPress <= 8.1.3 - Authenticated (Subscriber+) SQL Injection via Form Field Value 'compare' Key

Medium 5.3 CWE-89Fixed in 8.1.4
ID
WPSEC-2026-3263
Plugin
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI (gamipress)
Affected
all versions before 8.1.4
Remediation
Update to 8.1.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-89
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-17
Attack surface
GamiPress on WPSec AttackSurface
Fix released
Published

Description

The GamiPress plugin for WordPress is vulnerable to SQL Injection via the comparison operator of log 'where' conditions in all versions up to, and including, 8.1.3. This is due to gamipress_query_logs() placing the 'compare' value of a where condition directly into the SQL statement without checking it against a list of allowed operators, while several form-plugin integrations pass raw submitted field values into those conditions when counting a user's field-value trigger 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. Exploitation requires a field-value submission requirement and a form plugin that keeps the array keys of submitted values.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0