Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2497: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in bestwebsoft Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress

0
High
VulnerabilityCVE-2026-2497cvecve-2026-2497cwe-89
Published: 08/16/2026 (08/16/2026, 06:38:08 UTC)
Source: CVE Database V5
Vendor/Project: bestwebsoft
Product: Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress

Description

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.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-13T21:36:59.704Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a815f2fbf8831d539a5f185

Added to database: 08/16/2026, 06:56:47 UTC

Last updated: 08/16/2026, 06:56:47 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses