What the vulnerability does
01Description
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'order_by' parameter in all versions up to, and including, 1.8.40 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 contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is exploitable by embedding a malicious shortcode in a post or draft, allowing the injected SQL to execute when the shortcode is rendered.
Explanation of Vulnerability in Simple Terms
02Summary
Photo Gallery by 10Web versions up to 1.8.40 contain a SQL injection vulnerability in database queries. An authenticated user with low privileges can craft malicious input to read sensitive data from the site's database, including user information and configuration details. The vulnerability requires valid site access but no additional user interaction.
What an attacker can do
03Attacker Capabilities
Read sensitive data from the site database, including user records and configuration.
Potential impact on your site
04Site Impact
User data and site configuration may be exposed to anyone with a basic site account.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege authenticated account on the site.
Key dates
06Disclosure timeline
May 28, 2026
CVE published
May 28, 2026
Record updated