CVE-2026-85652: Photo Gallery by 10Web <= 1.8.44 - Authenticated (Author+) SQL Injection via 'album_id' Shortcode Attribute
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'albumid' 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.
Affected Software
Event History
Frequently Asked Questions
Which users can exploit this issue?
An authenticated WordPress user with Author-level access or higher can exploit it. The attacker needs to be able to place a crafted album_id value in a post shortcode.
When does the injected payload execute?
The payload can be stored in a published post and executes when a visitor renders that post. This means the attacker does not need to be present when the query is triggered.
How can I check for possible exploitation?
Review published posts created or editable by Author-level and higher accounts for Photo Gallery shortcodes containing unusual or unexpected album_id values. Pay particular attention to shortcode attributes that appear intended to introduce time delays or database-query syntax.