SQL injection in 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9829
- 2026-10-03 Alias added: GHSA-xh2v-3wq6-997q
References
Other 12
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cae7dabd-ce43-43e3-9f67-b2de55bd720b?source=cve
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L113
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L113
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/models/model.php#L162
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/admin/controllers/Shortcode.php#L59
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/framework/WDWLibrary.php#L2281
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/photo-gallery.php#L717
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/models/model.php#L162
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/admin/controllers/Shortcode.php#L59
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/framework/WDWLibrary.php#L2281
- https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/photo-gallery.php#L717
- https://plugins.trac.wordpress.org/changeset/3553847
More 10web vulnerabilities
- TI-2023-04299 Form-Maker < 1.15.20 - Unauthenticated Arbitrary File Upload CVSS 3.1CRITICAL 9.8
- TI-2023-00035 10WebMapBuilder < 1.0.73 - Unauthenticated SQLi CVSS 3.1CRITICAL 9.8
- TI-2022-00110 Photo Gallery by 10Web < 1.6.0 - Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
- TI-2022-01165 Photo Gallery < 1.6.3 - Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
- TI-2014-07554 Unrestricted File Upload vulnerability in Photo Gallery 1.2.5. CVSS 3.0HIGH 8.8
- TI-2018-15571 WordPress Form Maker Plugin 1.12.24 SQL Injection via admin-ajax.php CVSS 4.0HIGH 7.1
Sources
- CVE-2026-9829 · CVE Program
- CVE-2026-9829 · NVD
- FIRST EPSS
- GHSA-xh2v-3wq6-997q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences