CVE-2026-7048 json
Photo Gallery by 10Web <= 1.8.40 - Authenticated (Contributor+) SQL Injection via 'order_by' Shortcode Attribute
published 2026-05-28 5 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-32744
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/27394b03-3604-4fb0-950f-e1f838cabb05?source=cve
- plugins.trac.wordpress.org /browser/photo-gallery/tags/1.8.39/framework/WDWLibrary.php#L1351
- plugins.trac.wordpress.org /browser/photo-gallery/trunk/framework/WDWLibrary.php#L1351
- plugins.trac.wordpress.org /browser/photo-gallery/trunk/photo-gallery.php#L789
- plugins.trac.wordpress.org /browser/photo-gallery/tags/1.8.39/photo-gallery.php#L789
- plugins.trac.wordpress.org /browser/photo-gallery/trunk/framework/WDWLibrary.php#L2112
- plugins.trac.wordpress.org /browser/photo-gallery/tags/1.8.39/framework/WDWLibrary.php#L2112
- plugins.trac.wordpress.org /browser/photo-gallery/trunk/frontend/controllers/controller.php#L354
- plugins.trac.wordpress.org /browser/photo-gallery/tags/1.8.39/frontend/controllers/controller.php#L354
- plugins.trac.wordpress.org /changeset?sfp_email=&sfph_mail=&reponame=&old=3532364%40photo-gallery&new=3532364%40photo-gallery&sfp_email=&
Sources
- CVE List CVE-2026-7048
- NVD CVE-2026-7048
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.