CVE-2026-9829: Photo Gallery by 10Web <= 1.8.41 - Authenticated (Contributor+) SQL Injection via 'compact_album_order_by' Shortcode Parameter
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'compactalbumorderby' 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 'shortcodebwg' 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 'bwgfrontenddata' AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-9829?
The severity of CVE-2026-9829 is rated as medium with a score of 6.5.
How do I fix CVE-2026-9829?
To fix CVE-2026-9829, update the Photo Gallery by 10Web plugin to version 1.8.42 or later.
What type of vulnerability is CVE-2026-9829?
CVE-2026-9829 is classified as a SQL Injection vulnerability.
Who is affected by CVE-2026-9829?
All users of the Photo Gallery by 10Web plugin for WordPress with version 1.8.41 or earlier are affected by CVE-2026-9829.
What is the impact of CVE-2026-9829?
The impact of CVE-2026-9829 can lead to unauthorized access to sensitive data through time-based SQL injection.