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

Source: https://junglewise.ai/threats/cve-2026-85652-10web-photo-gallery-time-based-sql-injection-in-album-id  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-18. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/photo-gallery). Vendors: [10Web](https://junglewise.ai/threats/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

- [https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/framework/WDWLibrary.php](https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/framework/WDWLibrary.php)
- [https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/controllers/controller.php](https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/controllers/controller.php)

## Related threats

- [Photo Gallery by 10Web stored cross-site scripting in watermark attribute](https://junglewise.ai/threats/cve-2026-110072-the-photo-gallery-by-10web-wordpress-plugin-before-1-8-49-does)
- [Photo Gallery by 10Web unauthenticated cross-site scripting](https://junglewise.ai/threats/cve-2026-42715-unauthenticated-cross-site-scripting-xss-in-photo-gallery-by)
- [Photo Gallery by 10Web reflected XSS via thumb_url parameter](https://junglewise.ai/threats/cve-2026-92974-the-photo-gallery-by-10web-mobile-friendly-image-gallery-plugin)
- [Photo Gallery by 10Web PHP object injection](https://junglewise.ai/threats/cve-2026-102377-contributor-php-object-injection-in-photo-gallery-by-10web-1-8)
- [10Web Photo Gallery reflected XSS in admin pages](https://junglewise.ai/threats/cve-2026-12865-10web-photo-gallery-reflected-xss-in-admin-pages)
