CVE-2021-24462: Ays-Pro Photo Gallery

High severity, CVSS 8.8. EPSS: 1.4% chance of exploitation in the next 30 days.

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

Affected products

  • Ays-Pro Photo Gallery: before 4.4.4 (fixed in 4.4.4)

Published 2021-08-02. Last modified 2026-06-17.