CVE-2026-85652 Photo Gallery by 10Web <= 1.8.44 - Authenticated (Author+) SQL Injection via 'album_id' Shortcode Attribute

Medium 6.5 Published Updated

Authenticated authors can exploit SQL injection in the Photo Gallery plugin to extract sensitive database information via shortcode attributes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-85652?

CVE-2026-85652 is a medium-severity SQL injection vulnerability in Photo Gallery by 10Web – Mobile-Friendly Image Gallery, published on 18 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'album_id' Shortcode Attribute in all versions up to, and including, 1.8.44 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. An Author-level user can store a SQL injection payload inside a published post's shortcode attribute, causing the payload to execute when any visitor renders the post; notably, the unsanitized value appears on both sides of a UNION query, potentially doubling the observable time-based delay.

Weakness: CWE-89

Which versions are affected by CVE-2026-85652?

How do I fix CVE-2026-85652?

No fix has been published for CVE-2026-85652 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-85652 being exploited?

There is no known exploitation of CVE-2026-85652 in the wild and no public exploit code.

Sources

Also known as GHSA-34mw-p6wx-m38q.

Is CVE-2026-85652 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free