Skip to main content

Photo Gallery by 10Web CVE-2026-7048

| EUVDEUVD-2026-32744 MEDIUM
SQL Injection (CWE-89)
2026-05-28 Wordfence GHSA-5v9v-f8v4-w6g4
6.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Analysis Generated
May 28, 2026 - 09:23 vuln.today
CVE Published
May 28, 2026 - 07:43 nvd
MEDIUM 6.5

DescriptionCVE.org

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.

AnalysisAI

Time-based blind SQL injection in the Photo Gallery by 10Web WordPress plugin (all versions through 1.8.40) allows authenticated attackers holding contributor-level access or above to exfiltrate sensitive database contents by embedding a crafted shortcode in a post or draft. The order_by parameter is passed unsanitized into existing SQL queries, and the injected payload executes when the shortcode is rendered - targeting WordPress databases containing credentials, user PII, and site configuration. No public exploit code or CISA KEV listing has been identified at time of analysis, though the high confidentiality impact and low attack complexity make this a meaningful risk on any site with non-administrative contributors.

Technical ContextAI

The vulnerability originates in two files of the plugin's framework layer: framework/WDWLibrary.php (lines 1351 and 2112) and frontend/controllers/controller.php (line 354), as confirmed by multiple WordPress Trac source browser references. The order_by shortcode parameter is insufficiently escaped before concatenation into raw SQL queries - the root cause class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The exploitation pathway is distinctively indirect: the malicious SQL payload is dormant inside a shortcode attribute until a page rendering event triggers execution server-side, bypassing some naive input-validation approaches that only inspect form submissions. The time-based blind technique (using conditional delay functions such as MySQL's SLEEP() or BENCHMARK()) infers database content bit-by-bit through measured response latency, requiring no direct query output channel. The affected CPE is cpe:2.3:a:10web:photo_gallery_by_10web_-_mobile-friendly_image_gallery:*:*:*:*:*:*:*:*, covering all versions up to and including 1.8.40.

RemediationAI

An upstream fix has been committed to the plugin's trunk repository, as evidenced by the WordPress Trac changeset at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3532364%40photo-gallery&new=3532364%40photo-gallery; however, a specific patched release version number is not independently confirmed from the available data - the described fix targets versions beyond 1.8.40. Administrators should immediately update the Photo Gallery by 10Web plugin to the latest available release via the WordPress dashboard and confirm the installed version exceeds 1.8.40. As a compensating control during the patching window, restrict contributor-role access to only fully trusted individuals, since contributor-level is the minimum privilege required for exploitation. If the plugin is not essential to site operations, temporarily deactivating it is a viable zero-risk mitigation, with the trade-off that all rendered photo galleries will be removed from the frontend until the plugin is updated and re-enabled. Do not rely on WAF rules alone as the primary control for blind SQLi without testing for bypass.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-7048 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy