CVE-2026-96661 Gmedia Photo Gallery <= 1.25.1 - Unauthenticated SQL Injection via 'gmedia__in' Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pasyuk Gmedia Photo Gallery | <= 1.25.1 | after 1.25.1 | Fixed |
| wordpress grand-media(WordPress) | <= 1.25.1 | after 1.25.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress grand-media(WordPress) | <= 1.25.1 | No fix listed |
| pasyuk Gmedia Photo Gallery | <= 1.25.1 | No fix listed |
References
- Wordfence Intelligence third-party-advisory
- www.cve.org
- www.wordfence.com
- plugins.trac.wordpress.org
- plugins.trac.wordpress.org
- ENISA EUVD EUVD-2026-100784 third-party-advisory