CVE-2026-7048: Photo Gallery by 10Web (WordPress plugin) · SQL Injection
Affects Photo Gallery by 10Web (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| 10webPhoto Gallery by 10Web – Mobile-Friendly Image Gallery | Affected
| Fixed in– |
AI-suggested
Until an official fix is released, restrict contributor-level access carefully and avoid using untrusted shortcodes in posts or drafts. Monitor for updates from 10Web regarding patches or official mitigations.
Description
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.
References
- wordfence.com/threat-intel/vulnerabilities/id/27394b03-3604-4fb0-950f-e1f838cabb05?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.39/framework/WDWLibrary.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/framework/WDWLibrary.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/photo-gallery.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.39/photo-gallery.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/framework/WDWLibrary.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.39/framework/WDWLibrary.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/trunk/frontend/controllers/controller.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.39/frontend/controllers/controller.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3532364%40photo-gallery&new=3532364%40photo-gallery&sfp_email=&sfph_mail= (opens in a new tab)