CVE-2026-39785 WordPress Gmedia Photo Gallery plugin <= 1.25.1 - SQL Injection vulnerability
Attackers can perform blind SQL injection to read database contents in the Gmedia Photo Gallery WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-39785?
CVE-2026-39785 is a critical SQL injection vulnerability in Serhii Pasyuk Gmedia Photo Gallery, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Serhii Pasyuk Gmedia Photo Gallery grand-media allows Blind SQL Injection.This issue affects Gmedia Photo Gallery: from n/a through 1.25.1.
Weakness: CWE-89
Which versions are affected by CVE-2026-39785?
How do I fix CVE-2026-39785?
No fix has been published for CVE-2026-39785 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-39785 being exploited?
There is no known exploitation of CVE-2026-39785 in the wild and no public exploit code.
Sources
Also known as GHSA-2r8p-hw5f-xgff.