Gmedia Photo Gallery <= 1.25.1 - Unauthenticated SQL Injection via 'gmedia__in' Parameter

7.5
Improper Neutralization of Special Elements used in an SQL Command
CVE CVE-2026-96661
CVSS 7.5 (High)
Publicly Published October 13, 2026
Last Updated October 14, 2026
Researcher zickzick2 - Sejong University of cyber security student

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Gmedia Photo Gallery

Software Type Plugin
Software Slug grand-media (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 1.25.1

Recent vulnerabilities in Gmedia Photo Gallery

# Title CVE ID CVSS Researchers Date
1 Gmedia Photo Gallery <= 1.25.1 - Unauthenticated SQL Injection CVE-2026-39785 7.5 Coopernicus October 5, 2026
2 Gmedia Photo Gallery <= 1.25.1 - Cross-Site Request Forgery CVE-2025-63014 4.3 daroo December 31, 2025
3 Gmedia Photo Gallery <= 1.23.0 - Authenticated (Contributor+) Local File Inclusion CVE-2025-53257 7.5 LVT-tholv2k June 27, 2025
4 Gmedia Photo Gallery < 1.20.0 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2022-0873 5.5 Kaushalendra Dubey April 25, 2022
5 Gmedia Photo Gallery <= 1.18.4 - Cross-Site Scripting 6.1 Vishnupriya Ilango April 27, 2020
6 Gmedia Photo Gallery <= 1.6.4 - Cross-Site Scripting 6.1 Chad Seaman May 27, 2015
7 Gmedia Photo Gallery <= 1.6.4 - Open Proxy CVE-2015-4339 5.8 Chad Seaman May 27, 2015
8 Gmedia Photo Gallery <= 1.6.4 - Denial of Service 7.5 Chad Seaman May 27, 2015
9 Gmedia Photo Gallery <= 1.6.4 - Local File Inclusion 9.8 Chad Seaman May 27, 2015
10 Gmedia Photo Gallery < 1.2.2 - Arbitrary File Upload 9.8 Claudio Viviani August 2, 2014

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation