CVE-2025-57947
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk20th percentile - higher than 20% of all known CVEs
Summary
The Photo Gallery by Ays plugin (versions up to 6.3.8) contains a DOM-Based Cross-Site Scripting (XSS) vulnerability due to improper neutralization of input during web page generation.
Risk Assessment
Malicious code could execute in the user's browser, leading to session theft or account takeover. It requires user interaction.
Recommendation
Update the plugin to a version higher than 6.3.8. Apply input validation and sanitization.
Other vulnerabilities in Photo Gallery by Ays
See all- CVE-2026-76006Medium
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.
- CVE-2025-13685Medium
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. Missing nonce verification in the process_bulk_action() function allows unauthenticated attackers to perform bulk operations (delete, publish, or unpublish galleries) via a forged request if they can trick an administrator into clicking a link.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

