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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Craft gallery shortcode embedding time-based SQL payload in `order_by` parameter
  3. Exploit
    Insert shortcode into post or draft
  4. Execution
    Trigger shortcode render via self-preview or page load
  5. Persist
    Injected SQL executes against WordPress MySQL database
  6. Impact
    Extract sensitive records via timing-based inference

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an active WordPress user account with contributor role or higher - anonymous users and subscriber-role accounts cannot trigger shortcode rendering in the necessary context. The Photo Gallery by 10Web plugin must be installed and activated on the target site. The SQL payload must be delivered via the order_by shortcode parameter and will only execute at shortcode render time (post preview, published page load, or widget rendering). The attacker can self-trigger exploitation by previewing their own draft, requiring no victim interaction. Sites that do not grant contributor access to untrusted parties, or that disable the plugin, are not exploitable through this vector. Non-WordPress deployments are not affected.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) yields a score of 6.5, reflecting network-reachable, low-complexity exploitation requiring only low-privilege authentication, with high confidentiality impact but no integrity or availability degradation. The PR:L requirement (contributor role) is a real barrier on tightly managed sites but is negligible on platforms with open registration, editorial teams, or guest-blogging workflows. Scope:Unchanged and I:N/A:N confirm the attack is limited to data exfiltration - the attacker cannot modify or destroy data through this vector alone. No EPSS score was supplied in the available data, and no active exploitation is confirmed (no CISA KEV listing, no identified public POC). The shortcode-as-delivery-mechanism adds a slight operational step but does not increase effective attack complexity meaningfully, as contributors can self-trigger the payload via post preview. Overall, this is a legitimate priority for WordPress sites with contributor-level access granted to untrusted or semi-trusted users, and a lower priority for sites where all editors are fully trusted.

Exploit ScenarioDerived

An attacker registered as a contributor on a WordPress site embeds a gallery shortcode in a new draft post, manipulating the order_by attribute to include a time-based SQL payload such as a conditional SLEEP() statement. The attacker previews the draft, causing WordPress to render the shortcode server-side and execute the injected SQL against the underlying MySQL database. Through repeated timing measurements, the attacker enumerates the WordPress wp_users table to extract hashed passwords and email addresses for all site accounts. No public POC has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 28, 2026

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.

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.

Affected VersionsENISA

Photo Gallery by 10Web – Mobile-Friendly Image Gallery 0 ≤1.8.40

Affected Packages

euvd photo_gallery_by_10web_mobile_friendly_image_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

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-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

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-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

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