CVE-2026-85652
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/framework/WDWLibrary.php#L75
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/controllers/controll
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/models/model.php#L17
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/models/model.php#L17
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/framework/WDWLibrary.php#L75
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/controllers/controll
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/models/model.php#L17
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/models/model.php#L17
- nvd.nist.gov/vuln/detail/CVE-2026-85652
- cve.org/CVERecord?id=CVE-2026-85652
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.