Photo Gallery by Ays <= 6.8.2 — Authenticated (Administrator+) SQL Injection via 's' Parameter
CVE-2026-76006Published · Updated Action summary
Affected: ≤6.8.2Update to 6.8.3 or newer
All remediation steps- Severity
- Medium4.9
- CVSS
- 4.9CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:NIntegrity- None
A:NAvailability- None
- Weakness
- CWE-89 SQL Injection
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Photo Gallery by Ays – Responsive Image Gallery gallery-photo-gallery
- Affected≤ 6.8.2
- Patched in6.8.3
Update to 6.8.3 or newer.
You are affected if you run ≤ 6.8.2. Version 6.8.3 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Photo Gallery by Ays – Responsive Image Gallery.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 6.8.3, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch Photo Gallery by Ays – Responsive Image Gallery to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Wordfence PRISM.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in Photo Gallery by Ays – Responsive Image Gallery
All 11| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.3 | Cross-Site Request Forgery to Bulk Actions ≤6.4.8Update to 6.4.9 | CVE-2025-13685 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤6.3.8Update to 6.3.9 | CVE-2025-57947 | |
| Medium4.4 | Authenticated (Administrator+) HTML Injection <5.7.1Update to 5.7.1 | CVE-2024-37442 | |
| Medium6.1 | Reflected Cross-Site Scripting ≤5.5.2Update to 5.5.3 | CVE-2024-29919 | |
| Medium4.3 | Cross-Site Request Forgery ≤5.2.6Update to 5.2.7 | CVE-2023-39917 |
- Medium4.3Cross-Site Request Forgery to Bulk Actions
≤6.4.8Update to 6.4.9
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤6.3.8Update to 6.3.9
- Medium4.4Authenticated (Administrator+) HTML Injection
<5.7.1Update to 5.7.1
- Medium6.1Reflected Cross-Site Scripting
≤5.5.2Update to 5.5.3
- Medium4.3Cross-Site Request Forgery
≤5.2.6Update to 5.2.7
Same weakness (SQL Injection)
All SQL Injection| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 4.9
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
