CVE-2026-7048 MEDIUM

CVE-2026-7048: Photo Gallery by 10Web <= 1.8.40 - Authenticated (Contributor+) SQL Injection via 'order_by' Shortcode Attribute

Vendor 10Web
Product Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Weakness CWE-89 · SQLi
Published May 28, 2026
Last update May 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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