What’s Vulnerable › Vulnerabilities
CVE-2021-24462: Photo Gallery by Ays - Responsive Image Gallery < 4.4.4 - Authenticated Blind SQL Injections
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-02 · updated 2026-06-17
- Weakness: CWE-89
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
Affected products
- Photo Gallery Team Photo Gallery by Ays – Responsive Image Gallery: before 4.4.4 — fixed in 4.4.4
How to fix
Upgrade to a fixed version: Photo Gallery Team Photo Gallery by Ays – Responsive Image Gallery 4.4.4. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/e24dac6d-de48-42c1-bdde-4a45fb331376
- https://wpscan.com/vulnerability/e24dac6d-de48-42c1-bdde-4a45fb331376
Get alerted when CVE-2021-24462 or the next vulnerability affects your stack