SQL Injection Vulnerability in Gallery by BestWebSoft for WordPress
CVE-2026-2497

7.2HIGH

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

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Farrukh Ziyaev
.