What the vulnerability does
01Description
The WP Easy Gallery – WordPress Gallery Plugin plugin for WordPress is vulnerable to SQL Injection via the 'edit_imageId' and 'edit_imageDelete' parameters in all versions up to, and including, 4.8.5 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 subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Explanation of Vulnerability in Simple Terms
02Summary
WP Easy Gallery versions up to 4.8.5 contain a SQL injection vulnerability in the plugin's database queries. An authenticated user with low privileges can inject malicious SQL code through plugin parameters, potentially reading, modifying, or deleting site data. The vulnerability affects the entire WordPress installation due to scope change. Update to a version newer than 4.8.5 immediately.
What an attacker can do
03Attacker Capabilities
Read, modify, or delete any data in the WordPress database, including user credentials and site content.
Potential impact on your site
04Site Impact
Database compromise affecting all site data, user accounts, and content integrity without requiring admin access.
Conditions required to exploit
05Prerequisites
Attacker must have a WordPress user account with low-level privileges (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
September 24, 2024
CVE published
April 8, 2026
Record updated