CVE-2026-85652: 10Web Photo Gallery time-based SQL injection in album_id shortcode attribute

CVE-2026-85652 · Severity: medium · CVSS 6.5 · Published 2026-09-18

The Photo Gallery by 10Web is a WordPress plugin that displays image galleries on web pages. The plugin fails to properly sanitize the 'album_id' shortcode attribute, allowing authenticated WordPress authors to inject SQL commands. An attacker with author-level access can embed malicious SQL in a published post, which executes when visitors view that post, potentially exposing sensitive database information to anyone who reads the compromised page.

Technologies: 10Web Photo Gallery. Vendors: 10Web.

Quick answers

Is CVE-2026-85652 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85652 being exploited in the wild.
How severe is CVE-2026-85652?
Medium severity, with a CVSS score of 6.5, published 18 September 2026.
Which products and versions are affected?
10Web Photo Gallery up to and including 1.8.44.
Is there a fix for CVE-2026-85652?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-85652 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-85652?
Check whether you run 10Web Photo Gallery at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a time-based SQL injection in the 'album_id' shortcode parameter, present in versions up to 1.8.44. The root cause is insufficient escaping of user-supplied input and inadequate parameterization of the SQL query. An authenticated attacker with author-level access (or above) can craft a malicious shortcode attribute containing SQL payloads that are executed when the post is rendered to any visitor. The vulnerability is notable because the unsanitized value appears on both sides of a UNION query, potentially doubling the observable time-based delay and making information extraction more reliable. No patch information is provided in the advisory.

Affected products

  • 10Web Photo Gallery up to and including 1.8.44

Timeline

  • 2026-09-18: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.