The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'compact_album_order_by' Shortcode Parameter in all versions up to, and including, 1.8.41 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. The malicious payload is stored via the 'shortcode_bwg' AJAX handler — accessible to Contributor-level users and exploitable without a valid nonce by omitting the 'page' parameter — and is subsequently triggered by the unauthenticated 'bwg_frontend_data' AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode.
CVE-2026-9829
Score 6.5 from GitHub Security Advisory published 2026-06-06. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EPSS
- 24.4%
- KEV
- Not listed
Published
June 6, 2026
Last Modified
June 8, 2026
References (12)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/admin/controllers/Shortcode.php#L59
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/framework/WDWLibrary.php#L2281
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L113
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L162
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/photo-gallery.php#L717
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/admin/controllers/Shortcode.php#L59
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/framework/WDWLibrary.php#L2281
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L113
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L162
- security@wordfencehttps://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/photo-gallery.php#L717
- security@wordfencehttps://plugins.trac.wordpress.org/changeset/3553847
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/cae7dabd-ce43-43e3-9f67-b2de55bd720b?source=cve
Vendor Advisories for CVE-2026-9829(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 19× in last 7d / 87× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 20:11 UTCEG score recompute
- 2026-07-05 20:11 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-04 20:21 UTCEG score recompute
- 2026-07-04 20:21 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 19:40 UTCEG score recompute
- 2026-07-03 19:40 UTCGHSA enrichment
- 2026-07-02 19:51 UTCEG score recompute
- 2026-07-02 19:51 UTCGHSA enrichment
- 2026-07-02 17:02 UTCEPSS rescore
- 2026-07-01 20:03 UTCEG score recompute
- 2026-07-01 20:03 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:15 UTCEG score recompute
- 2026-06-30 20:15 UTCGHSA enrichment
- 2026-06-29 20:21 UTCEG score recompute
- 2026-06-29 20:21 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 20:34 UTCEG score recompute
- 2026-06-28 20:34 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
Show 66 moreShow fewer
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 20:47 UTCEG score recompute
- 2026-06-27 20:47 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:59 UTCEG score recompute
- 2026-06-26 20:59 UTCGHSA enrichment
- 2026-06-25 21:12 UTCEG score recompute
- 2026-06-25 21:12 UTCGHSA enrichment
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 21:25 UTCEG score recompute
- 2026-06-24 21:24 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 17:16 UTCEG score recompute
- 2026-06-23 17:16 UTCGHSA enrichment
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:24 UTCEG score recompute
- 2026-06-22 14:24 UTCGHSA enrichment
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 08:09 UTCEG score recompute
- 2026-06-21 08:08 UTCGHSA enrichment
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-20 08:15 UTCEG score recompute
- 2026-06-20 08:15 UTCGHSA enrichment
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 02:15 UTCEG score recompute
- 2026-06-19 02:14 UTCGHSA enrichment
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 02:19 UTCEG score recompute
- 2026-06-18 02:19 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 02:32 UTCEG score recompute
- 2026-06-17 02:32 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 02:45 UTCEG score recompute
- 2026-06-16 02:45 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 02:57 UTCEG score recompute
- 2026-06-15 02:57 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 03:09 UTCEG score recompute
- 2026-06-14 03:08 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 03:19 UTCEG score recompute
- 2026-06-13 03:19 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 03:32 UTCEG score recompute
- 2026-06-12 03:32 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 03:45 UTCEG score recompute
- 2026-06-11 03:44 UTCGHSA enrichment
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 03:57 UTCEG score recompute
- 2026-06-10 03:57 UTCGHSA enrichment
- 2026-06-09 04:10 UTCEG score recompute
- 2026-06-09 04:10 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 04:22 UTCEG score recompute
- 2026-06-08 04:22 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 04:35 UTCEG score recompute
- 2026-06-07 04:35 UTCGHSA enrichment
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 04:48 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-9829?
When was CVE-2026-9829 disclosed?
Is CVE-2026-9829 actively exploited?
What is the CVSS score of CVE-2026-9829?
How do I remediate CVE-2026-9829?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-9829
Is Your Infrastructure Affected by CVE-2026-9829?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.