CVE-2024-8436 CRITICAL

CVE-2024-8436: WP Easy Gallery – WordPress Gallery Plugin <= 4.8.5 - Authenticated (Subscriber+) SQL Injection

Vendor Hahncgdev
Product WP Easy Gallery – WordPress Gallery Plugin
Weakness CWE-89 · SQLi
Published September 24, 2024
Last update April 8, 2026

CVSS base score

9.9/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

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

Related vulnerabilities

08Related CVE