CVE-2026-96661
7.5HighPublished 14 Oct 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-89
Impact
Unauthenticated remote attackers can extract sensitive database information via time-based SQL injection. Exploitation requires only network access to the unauthenticated mobile app endpoint without any credentials or active session.
Root cause
The mobile app endpoint fails to validate authentication or nonces and passes the unescaped 'gmedia__in' parameter directly into unprepared SQL queries.
Affected systems
Gmedia Photo Gallery plugin for WordPress up to, and including, 1.25.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Fix & remediation
Upgrade to a version newer than 1.25.1 once available; if patching is delayed, deactivate the Gmedia Photo Gallery plugin or block requests handling the vulnerable mobile app endpoint in access.php.
$ wp plugin deactivate grand-mediaAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- 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
- 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://www.wordfence.com/threat-intel/vulnerabilities/id/0592050d-4e72-4b40-a88b-b92e53c49e9e?source=cve