Photo Gallery by 10Web <= 1.8.44 - Authenticated (Author+) SQL Injection via 'album_id' Shortcode Attribute
Summary
| CVE | CVE-2026-85652 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-18 08:17:01 UTC |
| Updated | 2026-09-18 20:17:29 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.004100000 probability, percentile 0.349090000 (date 2026-09-21)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | 10web | Photo Gallery By 10Web Mobile-Friendly Image Gallery | affected 1.8.44 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/models/model.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/models/model.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/framework/WDWLibrary.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/controllers/contro... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/c9dca86f-b853-4d29-ae43-bd6ea... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/models/model.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/frontend/models/model.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.44/framework/WDWLibrary.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.42/frontend/controllers/contro... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: VuxNx (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-09-04T13:24:33.000Z | Vendor Notified |
| CNA | 2026-09-17T19:39:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.