Plugins · gallery-photo-gallery · data as of 2026-11-04
Is Photo Gallery by Ays safe? Known vulnerabilities and latest version
- Latest version
- 6.9.1
- Last updated
- 2026-10-26
- Active installs
- 1,000+
- Known issues on record
- 10
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4
Photo Gallery is a cool responsive image gallery plugin with beautiful views — by Ays Pro
What to do
- Update to the latest version (6.9.1). Anything older than 6.8.3 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get gallery-photo-gallery --field=version shows what you run; wp plugin update gallery-photo-gallery updates it.
Check your version
Known vulnerabilities
10 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
medium 4.9 CVE-2026-76006 · published 2026-09-01
SQL injection in Photo Gallery by Ays (6.8.2 and older)
- Affected
- 6.8.2 and older
- Fixed in
- 6.8.3 *
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 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 administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques.
NVD CVE-2026-76006Wordfence advisoryCode change (fix)Plugin source
medium 4.3 CVE-2025-13685 · published 2025-12-02
Cross-site request forgery (CSRF) in Photo Gallery by Ays (6.4.8 and older)
- Affected
- 6.4.8 and older
- Fixed in
- 6.4.9 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Photo Gallery by Ays plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 6.4.8. This is due to missing nonce verification on the bulk action functionality in the 'process_bulk_action()' function. This makes it possible for unauthenticated attackers to perform bulk operations (delete, publish, or unpublish galleries) via a forged request granted they can trick an administrator into performing an action such as clicking on a link.
NVD CVE-2025-13685Wordfence advisoryCode change (fix)Plugin source
medium 6.5 CVE-2025-57947 · published 2025-09-22
Cross-site scripting (XSS) in Photo Gallery by Ays (6.3.8 and older)
- Affected
- 6.3.8 and older
- Fixed in
- 6.3.9
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ays Pro Photo Gallery by Ays gallery-photo-gallery allows DOM-Based XSS.This issue affects Photo Gallery by Ays: from n/a through <= 6.3.8.
medium 5.5 CVE-2024-37442 · published 2024-07-09
Remote code execution in Photo Gallery by Ays (older than 5.7.1)
- Affected
- older than 5.7.1
- Fixed in
- 5.7.1
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Photo Gallery Team Photo Gallery by Ays allows Code Injection.This issue affects Photo Gallery by Ays: from n/a before 5.7.1.
high 7.1 CVE-2024-29919 · published 2024-03-27
Reflected cross-site scripting (XSS) in Photo Gallery by Ays (5.5.2 and older)
- Affected
- 5.5.2 and older
- Fixed in
- 5.5.3
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Photo Gallery Team Photo Gallery by Ays allows Reflected XSS.This issue affects Photo Gallery by Ays: from n/a through 5.5.2.
high 8.8 CVE-2023-39917 · published 2023-10-03
Cross-site request forgery (CSRF) in Photo Gallery by Ays (5.2.6 and older)
- Affected
- 5.2.6 and older
- Fixed in
- 5.2.7
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Cross-Site Request Forgery (CSRF) vulnerability in Photo Gallery Team Photo Gallery by Ays – Responsive Image Gallery plugin <= 5.2.6 versions.
medium 6.1 CVE-2023-32107 · published 2023-08-18
Reflected cross-site scripting (XSS) in Photo Gallery by Ays (5.1.3 and older)
- Affected
- 5.1.3 and older
- Fixed in
- 5.1.4
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Unauth. Reflected Cross-Site Scripting (XSS) vulnerability in Photo Gallery Team Photo Gallery by Ays – Responsive Image Gallery plugin <= 5.1.3 versions.
medium 6.1 CVE-2023-2568 · published 2023-06-12
Reflected cross-site scripting (XSS) in Photo Gallery by Ays (older than 5.1.7)
- Affected
- older than 5.1.7
- Fixed in
- 5.1.7
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Photo Gallery by Ays WordPress plugin before 5.1.7 does not escape some parameters before outputting it back in attributes, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin
high 8.8 CVE-2021-24462 · published 2021-08-02
SQL injection in Photo Gallery by Ays (older than 4.4.4)
- Affected
- older than 4.4.4
- Fixed in
- 4.4.4
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- advisory text · score by NVD
Details from the advisory
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
critical 9.8 CVE-2016-10921 · published 2019-08-22
SQL injection in Photo Gallery by Ays (older than 1.0.1)
- Affected
- older than 1.0.1
- Fixed in
- 1.0.1
- Access needed (per CVSS)
- No login needed
- Range from
- advisory text · score by NVD
Details from the advisory
The gallery-photo-gallery plugin before 1.0.1 for WordPress has SQL injection.
Recent activity
- 2026-10-26 — latest release on wordpress.org (6.9.1).
- 2026-09-01 — SQL injection disclosed (CVE-2026-76006), fixed in 6.8.3.
- 2025-12-02 — Cross-site request forgery (CSRF) disclosed (CVE-2025-13685), fixed in 6.4.9.
- 2025-09-22 — Cross-site scripting (XSS) disclosed (CVE-2025-57947), fixed in 6.3.9.
Get an email when Photo Gallery by Ays has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Photo Gallery by Ays (gallery-photo-gallery) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by Ays Pro (13 tracked)
Types found in this plugin: Cross-site scripting (XSS) (4) · SQL injection (3) · Cross-site request forgery (CSRF) (2) · Remote code execution (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/gallery-photo-gallery (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/gallery-photo-gallery"><img src="https://laskyr.com/plugins/gallery-photo-gallery/badge.svg" alt="Photo Gallery by Ays vulnerability status"></a>