vulnerability

WordPress Plugin: gallery-photo-gallery: CVE-2021-24462: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
Jun 29, 2021
Added
May 15, 2025
Modified
May 15, 2025

Description

The get_gallery_categories() and get_galleries() functions in the Photo Gallery by Ays – Responsive Image Gallery WordPress plugin before 4.4.4 did not use whitelist or validate the orderby parameter before using it in SQL statements passed to the get_results() DB calls, leading to SQL injection issues in the admin dashboard

Solution

gallery-photo-gallery-plugin-cve-2021-24462
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.