Skip to main content
EPSS 0.6%top 53%

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

0
Medium
VulnerabilityCVE-2026-76006cvecve-2026-76006cwe-89
Published: 09/01/2026 (09/01/2026, 04:27:50 UTC)
Source: CVE Database V5
Vendor/Project: ays-pro
Product: 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

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

Affected software

ays-pro

Photo Gallery by Ays – Responsive Image Gallery

Affected versions
>=0 <=6.8.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:34:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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