SQL Injection Vulnerability in Gallery by BestWebSoft for WordPress
CVE-2026-2497
7.2HIGH
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 16 August 2026
What is CVE-2026-2497?
The Gallery by BestWebSoft plugin for WordPress is susceptible to SQL injection through the 'gallery_order{post_id}' parameter array keys. This vulnerability arises from inadequate escaping of user-supplied parameters and the use of unprepared SQL queries within the gllr_save_postdata() function. Authenticated attackers with Editor-level permissions can exploit this flaw to inject malicious SQL queries, potentially enabling them to extract sensitive data from the database.
Affected Version(s)
Gallery by BestWebSoft β Customizable Image and Photo Galleries for WordPress 0 <= 4.7.9