Description
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'album_id' 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.
Published: 2026-09-18
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Authenticated SQL Injection via album_id
Action: Immediate Update
AI Analysis

Impact

The vulnerability allows an authenticated user with author or higher privileges to inject arbitrary SQL through the album_id shortcode attribute. The injection joins the unsanitized value on both sides of a UNION query, enabling time‑based detection and the extraction of sensitive database information. Because the payload can be stored in a published post, any visitor who renders that post triggers the malicious query, potentially exposing private data to all site visitors.

Affected Systems

The flaw affects the Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress versions up to and including 1.8.44. Any site running 10Web Photo Gallery by 10Web in these versions and that has at least one user with author or higher role is vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity flaw, while the EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not currently listed in the CISA KEV catalog. An attacker must first obtain or already possess an author‑level account; the injection is carried out by embedding a payload in the album_id attribute of a shortcode within a post, which is then executed when a visitor renders the post. No additional prerequisites such as network exposure are required beyond the authenticated access provided by the author role.

Generated by OpenCVE AI on September 19, 2026 at 20:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Photo Gallery by 10Web plugin to the latest version, which includes proper input sanitization for the album_id shortcode.
  • If a plugin upgrade is not immediately feasible, restrict author and higher roles from creating or editing posts that use the photo‑gallery shortcode, or temporarily disable the shortcode processing until a patch is applied.
  • Audit existing posts for the album_id attribute and remove any suspicious or malicious payloads to prevent unintended execution.

Generated by OpenCVE AI on September 19, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 19 Sep 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared 10web
10web photo Gallery By 10web – Mobile-friendly Image Gallery
Wordpress
Wordpress wordpress
Vendors & Products 10web
10web photo Gallery By 10web – Mobile-friendly Image Gallery
Wordpress
Wordpress wordpress

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 18 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'album_id' 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.
Title Photo Gallery by 10Web <= 1.8.44 - Authenticated (Author+) SQL Injection via 'album_id' Shortcode Attribute
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

10web Photo Gallery By 10web – Mobile-friendly Image Gallery
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-18T19:16:33.399Z

Reserved: 2026-09-04T13:09:15.756Z

Link: CVE-2026-85652

cve-icon Vulnrichment

Updated: 2026-09-18T19:16:29.465Z

cve-icon NVD

Status : Deferred

Published: 2026-09-18T08:17:01.373

Modified: 2026-09-18T20:17:29.143

Link: CVE-2026-85652

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T20:30:07Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')