Photo Gallery by Ays – Responsive Image Gallery < 1.0.1 - SQL Injection

9.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2016-10921
CVSS 9.8 (Critical)
Publicly Published July 11, 2016
Last Updated January 31, 2023

Description

The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to SQL Injection via an unknown parameter in versions up to 1.0.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Photo Gallery by Ays – Responsive Image Gallery

Software Type Plugin
Software Slug gallery-photo-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.0.1, or a newer patched version
Affected Version
  • < 1.0.1
Patched Version
  • 1.0.1

Recent vulnerabilities in Photo Gallery by Ays – Responsive Image Gallery

# Title CVE ID CVSS Researchers Date
1 Photo Gallery by Ays <= 6.8.2 - Authenticated (Administrator+) SQL Injection via 's' Parameter CVE-2026-76006 4.9 Wordfence PRISM August 31, 2026
2 Photo Gallery by Ays <= 6.4.8 - Cross-Site Request Forgery to Bulk Actions CVE-2025-13685 4.3 Deadbee December 1, 2025
3 Photo Gallery by Ays <= 6.3.8 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-57947 6.4 Abu Hurayra (HurayraIIT) September 22, 2025
4 Photo Gallery by Ays <= 5.7.0 - Authenticated (Administrator+) HTML Injection CVE-2024-37442 4.4 Ibnu Ubaeydillah June 28, 2024
5 Photo Gallery by Ays <= 5.5.2 - Reflected Cross-Site Scripting CVE-2024-29919 6.1 Majed Refaea March 25, 2024
6 Photo Gallery by Ays <= 5.2.6 - Cross-Site Request Forgery CVE-2023-39917 4.3 Skalucy August 7, 2023
7 Photo Gallery by Ays <= 5.1.6 - Reflected Cross-Site Scripting CVE-2023-2568 6.1 Erwan LR May 16, 2023
8 Photo Gallery by Ays <= 5.1.3 - Reflected Cross-Site Scripting via ays_gpg_settings_tab CVE-2023-32107 6.1 Le Ngoc Anh May 3, 2023
9 Photo Gallery by Ays - Responsive Image Gallery <= 4.4.3 - Authenticated Blind SQL Injections CVE-2021-24462 7.2 To Quang Duong June 29, 2021
10 Photo Gallery by Ays – Responsive Image Gallery <= 4.4.3 - Reflected Cross-Site Scripting 6.1 WPScanTeam June 29, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation