WP Easy Gallery <= 2.7 — SQL Injection
1e223e0e-959f-498e-8c0e-daae36bd28cbPublished · Updated Action summary
Affected: ≤2.7Update to 2.7.1 or newer
All remediation steps- Severity
- High7.2
- CVSS
- 7.2CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWhat 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:HIntegrity- High
A:HAvailability- High
- Weakness
- CWE-89 SQL Injection
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
WP Easy Gallery – WordPress Gallery Plugin wp-easy-gallery
- Affected≤ 2.7
- Patched in2.7.1
Update to 2.7.1 or newer.
You are affected if you run ≤ 2.7. Version 2.7.1 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WP Easy Gallery – WordPress Gallery Plugin.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 2.7.1, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WP Easy Gallery – WordPress Gallery Plugin to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence.
The WP Easy Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 'galleryId' or 'select_gallery' parameters found in the ‘admin/add-images.php’ file in versions up to, and including, 2.7 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 admin+ attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
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 WP Easy Gallery – WordPress Gallery Plugin
All 10| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High8.8 | Authenticated (Contributor+) SQL Injection via key Parameter ≤4.8.5No patch available | CVE-2024-9018 | |
| Critical9.9 | Authenticated (Subscriber+) SQL Injection ≤4.8.5No patch available | CVE-2024-8436 | |
| Medium4.3 | Missing Authorization to Authenticated (Subscriber+) Gallery Manipulation ≤4.8.5No patch available | CVE-2024-8437 | |
| Medium6.5 | Stored Cross-Site Scripting <4.1.5Update to 4.1.5 | — | |
| High7.2 | SQL Injection ≤2.7Update to 2.7.1 | — |
- High8.8Authenticated (Contributor+) SQL Injection via key Parameter
≤4.8.5No patch available
- Critical9.9Authenticated (Subscriber+) SQL Injection
≤4.8.5No patch available
- Medium4.3Missing Authorization to Authenticated (Subscriber+) Gallery Manipulation
≤4.8.5No patch available
- Medium6.5Stored Cross-Site Scripting
<4.1.5Update to 4.1.5
- High7.2SQL Injection
≤2.7Update to 2.7.1
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 high, CVSS 7.2
Record last updated
Sources & licenses
- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- 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.
