CVE-2026-9829
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk25th percentile - higher than 25% of all known CVEs
Summary
The Photo Gallery by 10Web plugin for WordPress up to version 1.8.41 is vulnerable to time-based SQL Injection via the 'compact_album_order_by' shortcode parameter. Authenticated attackers with contributor-level access can inject additional SQL queries and trigger them unauthenticated via another AJAX handler.
Risk Assessment
Attackers can extract sensitive data from the database, such as user passwords or API keys.
Recommendation
Update the Photo Gallery by 10Web plugin to the latest version. Restrict contributor permissions and use web application firewalls.
Other vulnerabilities in Photo Gallery by 10Web
See all- CVE-2026-12865High
The Photo Gallery by 10Web WordPress plugin before 1.8.44 does not escape two request parameters before reflecting them into input-attribute values on its admin pages (one on the Shortcode page, one on the Galleries/Albums list page). An unauthenticated attacker can craft a link that, when opened by a logged-in administrator (or, for the first sink, a contributor), executes arbitrary JavaScript in the victim's authenticated session via an auto-firing onfocus handler. The Galleries/Albums sink renders only when the site has more than 20 galleries/albums.
- CVE-2026-49771High
The Photo Gallery by 10Web plugin for WordPress versions up to 1.8.41 is vulnerable to blind SQL injection. Attackers can inject SQL queries through unsanitized input.
Original NVD description (English source)
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.

