Photo Gallery by Ays <= 5.7.0 - Authenticated (Administrator+) HTML Injection

4.4
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVE CVE-2024-37442
CVSS 4.4 (Medium)
Publicly Published June 28, 2024
Last Updated July 2, 2024
Researcher Ibnu Ubaeydillah

Description

The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 5.7.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary HTML in pages that will render whenever a user accesses an injected page.

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 5.7.1, or a newer patched version
Affected Version
  • < 5.7.1
Patched Version
  • 5.7.1

Recent vulnerabilities in Photo Gallery by Ays – Responsive Image Gallery

# Title CVE ID CVSS Researchers Date
1 Photo Gallery by Ays <= 6.4.8 - Cross-Site Request Forgery to Bulk Actions CVE-2025-13685 4.3 Deadbee December 1, 2025
2 Photo Gallery by Ays <= 6.3.8 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-57947 6.4 Abu Hurayra (HurayraIIT) September 22, 2025
3 Photo Gallery by Ays <= 5.5.2 - Reflected Cross-Site Scripting CVE-2024-29919 6.1 Majed Refaea March 25, 2024
4 Photo Gallery by Ays <= 5.2.6 - Cross-Site Request Forgery CVE-2023-39917 4.3 Skalucy August 7, 2023
5 Photo Gallery by Ays <= 5.1.6 - Reflected Cross-Site Scripting CVE-2023-2568 6.1 Erwan LR May 16, 2023
6 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
7 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
8 Photo Gallery by Ays – Responsive Image Gallery <= 4.4.3 - Reflected Cross-Site Scripting 6.1 WPScanTeam June 29, 2021
9 Photo Gallery by Ays – Responsive Image Gallery < 1.0.1 - SQL Injection CVE-2016-10921 9.8 July 11, 2016

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