CVE-2026-76006: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in ays-pro Photo Gallery by Ays – Responsive Image Gallery
Description
The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 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 administrator-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 vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques.
CVSS v3.1
Score 4.9medium
Affected software
ays-pro
Photo Gallery by Ays – Responsive Image Gallery
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-76006 is an SQL Injection vulnerability in the Photo Gallery by Ays – Responsive Image Gallery WordPress plugin. It arises from insufficient escaping of the user-supplied 's' parameter and lack of proper SQL query preparation. This allows authenticated administrators to inject additional SQL commands via two vulnerable code paths: $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories(). Exploitation can lead to unauthorized extraction of sensitive database information through blind or UNION-based SQL injection techniques.
Potential Impact
An attacker with administrator-level access can exploit this vulnerability to extract sensitive information from the database by injecting malicious SQL queries. The vulnerability does not impact availability or integrity but compromises confidentiality of stored data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrator access to trusted users only and monitor for suspicious activity related to the 's' parameter in the plugin. Avoid using the affected plugin versions if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-08-18T18:52:42.738Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9656a4acd9273b4936dca2
Added to database: 09/01/2026, 04:37:56 UTC
Last enriched: 09/07/2026, 13:34:23 UTC
Last updated: 10/14/2026, 06:48:20 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.