# CVE-2026-96661: Gmedia Photo Gallery <= 1.25.1 - Unauthenticated SQL Injection via 'gmedia__in' Parameter

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-14T03:39:59.163Z
- Modified: 2026-10-14T18:19:47.643Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- pasyuk Gmedia Photo Gallery: up to 1.25.1

## 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>

## Sources

- CVE List: [CVE-2026-96661](https://www.cve.org/CVERecord?id=CVE-2026-96661), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2026-96661](https://nvd.nist.gov/vuln/detail/CVE-2026-96661), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-96661 · Whole record: https://cve.day/CVE-2026-96661.json · Rebuilt by cve.day 2026-11-25T22:59:44.590Z
