CVE-2026-96661
Gmedia Photo Gallery <= 1.25.1 - Unauthenticated SQL Injection via 'gmedia__in' Parameter
- State
- Published
- Severity
- 7.5 High
- Published
- Oct 14, 2026
- Updated
- Oct 14, 2026
- Reserved
- Sep 23, 2026
Description
The Gmedia Photo Gallery plugin for WordPress is vulnerable to time-based SQL Injection via the 'gmedia__in' parameter in all versions up to, and including, 1.25.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The unauthenticated mobile app endpoint dispatches the library action without validating the Mobile App feature flag, a nonce, or any WordPress authentication, meaning no account or session of any kind is required to exploit this vulnerability.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | Wordfence |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Products
| Product | Versions |
|---|---|
Gmedia Photo Gallerypasyuk |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0592050d-4e72-4b40-a88b-b92e53c49e9e?source=cve
- https://plugins.trac.wordpress.org/browser/grand-media/tags/1.25.1/inc/db.connect.php#L1682
- https://plugins.trac.wordpress.org/browser/grand-media/tags/1.25.1/inc/db.connect.php#L2206
- https://plugins.trac.wordpress.org/browser/grand-media/tags/1.25.1/app/access.php#L131
- https://plugins.trac.wordpress.org/browser/grand-media/tags/1.25.1/app/access.php#L36
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.