HomeWordPress vulnerabilitiesGallery by BestWebSoft
Gallery by BestWebSoft vulnerabilities
Gallery by BestWebSoft has 4 known vulnerabilities in this database. The most recent published record is dated 16 Aug 2026.
- Known vulnerabilities
- 4
- Active installs
- 10,000+
- Latest version
- 4.8.1
- Last updated
- 18 Aug 2026
- Most recent
- 16 Aug 2026
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| SQL injection CVE-2026-2497 | High 7.2 | Up to 4.7.9 | Fixed in a later version (latest 4.8.1) | 16 Aug 2026 |
| PHP object injection CVE-2024-13906 | High 7.2 | Up to 4.7.3 | Fixed in a later version (latest 4.8.1) | 7 Mar 2025 |
| Security weakness CVE-2023-0764 | Medium 5.4 | Before 4.7.0 | Fixed in 4.7.0 | 17 Apr 2023 |
| SQL injection CVE-2023-0765 | High 8.8 | Before 4.7.0 | Fixed in 4.7.0 | 17 Apr 2023 |
Read the published descriptions
- CVE-2026-2497, 16 Aug 2026
- The Gallery by BestWebSoft plugin for WordPress is vulnerable to SQL Injection via the '_gallery_order_{post_id}' parameter array keys in all versions up to, and including, 4.7.9. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. The `gllr_save_postdata()` function stores unsanitized array keys from `$_POST` directly into post meta, which are later used in SQL queries without prepared statements. This makes it possible for authenticated attackers, with Editor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. CVE record
- CVE-2024-13906, 7 Mar 2025
- The Gallery by BestWebSoft - Customizable Image and Photo Galleries for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.7.3 via deserialization of untrusted input in the 'import_gallery_from_csv' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. CVE record
- CVE-2023-0764, 17 Apr 2023
- The Gallery by BestWebSoft WordPress plugin before 4.7.0 does not perform proper sanitization of gallery information, leading to a Stored Cross-Site Scription vulnerability. The attacker must have at least the privileges of the Author role. CVE record
- CVE-2023-0765, 17 Apr 2023
- The Gallery by BestWebSoft WordPress plugin before 4.7.0 does not properly escape values used in SQL queries, leading to an Blind SQL Injection vulnerability. The attacker must have at least the privileges of an Author, and the vendor's Slider plugin (https://wordpress.org/plugins/slider-bws/) must also be installed for this vulnerability to be exploitable. CVE record
What to do if you run Gallery by BestWebSoft
If you run Gallery by BestWebSoft, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new Gallery by BestWebSoft vulnerabilities
Free. We email you when a new vulnerability is published for Gallery by BestWebSoft, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.