Unauthenticated SQL injection in Gmedia Photo Gallery plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
The Gmedia Photo Gallery plugin by pasyuk for WordPress is affected in all versions up to and including 1.25.1. Insufficient escaping and missing query preparation in the gmedia__in parameter allow time-based SQL injection (CWE-89). An unauthenticated remote attacker can append SQL queries to existing queries and extract sensitive information from the database, with no account or session needed.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Gmedia Photo Gallery.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-14 Threatist record created from CVE-2026-96661
- 2026-10-14 Alias added: GHSA-4cfq-96xx-p72v
- 2026-10-14 Priority changed: MEDIUM → LOW
- 2026-10-15 CISA SSVC decision points changed
References
Other 5
- 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
More pasyuk vulnerabilities
- TI-2022-04562 Freemius SDK <= 2.4.2 - Missing Authorization Checks CVSS 3.1MEDIUM 6.3
Sources
- CVE-2026-96661 · CVE Program
- CVE-2026-96661 · NVD
- FIRST EPSS
- GHSA-4cfq-96xx-p72v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences