CVE-2025-13685: CWE-352 Cross-Site Request Forgery (CSRF) in ays-pro Photo Gallery by Ays – Responsive Image Gallery
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.
AI Analysis
Technical Summary
The Photo Gallery by Ays – Responsive Image Gallery WordPress plugin suffers from a Cross-Site Request Forgery (CSRF) vulnerability identified as CVE-2025-13685. This vulnerability exists in all versions up to and including 6.4.8 due to the absence of nonce verification in the 'process_bulk_action()' function, which handles bulk operations like deleting, publishing, or unpublishing galleries. Nonce tokens in WordPress are security measures designed to ensure that requests are intentional and originate from legitimate users. Without this verification, attackers can craft malicious URLs or forms that, when visited or submitted by an authenticated administrator, trigger unauthorized bulk actions on the galleries. The attack vector requires no privileges or authentication by the attacker but depends on social engineering to convince an administrator to interact with the malicious request (user interaction required). The vulnerability impacts the integrity of the gallery content by allowing unauthorized modifications but does not affect confidentiality or availability directly. The CVSS 3.1 score of 4.3 reflects this limited scope, with an attack vector of network, low attack complexity, no privileges required, user interaction necessary, and unchanged scope. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date. The vulnerability is classified under CWE-352, a common web security weakness related to CSRF attacks.
Potential Impact
For European organizations, especially those relying on WordPress sites with the Photo Gallery by Ays plugin, this vulnerability poses a risk to the integrity of their web content. Unauthorized bulk deletion or modification of galleries can disrupt business operations, damage brand reputation, and result in data loss or content unavailability. Media companies, e-commerce platforms with product galleries, and cultural institutions that showcase digital collections are particularly vulnerable. Although the vulnerability does not directly compromise confidentiality or availability, the unauthorized changes can lead to operational disruptions and potential compliance issues under regulations like GDPR if data integrity is compromised. The requirement for user interaction limits mass exploitation but does not eliminate risk, as phishing or social engineering campaigns targeting administrators could facilitate attacks. The absence of known exploits in the wild suggests a window for proactive mitigation before active exploitation occurs.
Mitigation Recommendations
To mitigate CVE-2025-13685, organizations should first verify if they use the affected Photo Gallery by Ays plugin version 6.4.8 or earlier. Since no official patch is currently available, administrators should implement the following measures: (1) Restrict bulk action permissions strictly to trusted administrator roles to minimize exposure. (2) Employ web application firewalls (WAFs) with custom rules to detect and block suspicious bulk action requests lacking valid nonce tokens. (3) Educate administrators and content managers about phishing and social engineering tactics to reduce the risk of clicking malicious links. (4) Monitor server and application logs for unusual bulk action activities. (5) Consider temporarily disabling bulk action features or replacing the plugin with a more secure alternative until an official patch is released. (6) Follow WordPress security best practices, including keeping all plugins and core software up to date and implementing multi-factor authentication for administrator accounts.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain
CVE-2025-13685: CWE-352 Cross-Site Request Forgery (CSRF) in ays-pro Photo Gallery by Ays – Responsive Image Gallery
Description
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.
AI-Powered Analysis
Technical Analysis
The Photo Gallery by Ays – Responsive Image Gallery WordPress plugin suffers from a Cross-Site Request Forgery (CSRF) vulnerability identified as CVE-2025-13685. This vulnerability exists in all versions up to and including 6.4.8 due to the absence of nonce verification in the 'process_bulk_action()' function, which handles bulk operations like deleting, publishing, or unpublishing galleries. Nonce tokens in WordPress are security measures designed to ensure that requests are intentional and originate from legitimate users. Without this verification, attackers can craft malicious URLs or forms that, when visited or submitted by an authenticated administrator, trigger unauthorized bulk actions on the galleries. The attack vector requires no privileges or authentication by the attacker but depends on social engineering to convince an administrator to interact with the malicious request (user interaction required). The vulnerability impacts the integrity of the gallery content by allowing unauthorized modifications but does not affect confidentiality or availability directly. The CVSS 3.1 score of 4.3 reflects this limited scope, with an attack vector of network, low attack complexity, no privileges required, user interaction necessary, and unchanged scope. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date. The vulnerability is classified under CWE-352, a common web security weakness related to CSRF attacks.
Potential Impact
For European organizations, especially those relying on WordPress sites with the Photo Gallery by Ays plugin, this vulnerability poses a risk to the integrity of their web content. Unauthorized bulk deletion or modification of galleries can disrupt business operations, damage brand reputation, and result in data loss or content unavailability. Media companies, e-commerce platforms with product galleries, and cultural institutions that showcase digital collections are particularly vulnerable. Although the vulnerability does not directly compromise confidentiality or availability, the unauthorized changes can lead to operational disruptions and potential compliance issues under regulations like GDPR if data integrity is compromised. The requirement for user interaction limits mass exploitation but does not eliminate risk, as phishing or social engineering campaigns targeting administrators could facilitate attacks. The absence of known exploits in the wild suggests a window for proactive mitigation before active exploitation occurs.
Mitigation Recommendations
To mitigate CVE-2025-13685, organizations should first verify if they use the affected Photo Gallery by Ays plugin version 6.4.8 or earlier. Since no official patch is currently available, administrators should implement the following measures: (1) Restrict bulk action permissions strictly to trusted administrator roles to minimize exposure. (2) Employ web application firewalls (WAFs) with custom rules to detect and block suspicious bulk action requests lacking valid nonce tokens. (3) Educate administrators and content managers about phishing and social engineering tactics to reduce the risk of clicking malicious links. (4) Monitor server and application logs for unusual bulk action activities. (5) Consider temporarily disabling bulk action features or replacing the plugin with a more secure alternative until an official patch is released. (6) Follow WordPress security best practices, including keeping all plugins and core software up to date and implementing multi-factor authentication for administrator accounts.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-25T19:52:12.798Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 692e8e125ae71122647f9696
Added to database: 12/2/2025, 6:58:26 AM
Last enriched: 12/2/2025, 6:58:47 AM
Last updated: 12/2/2025, 9:41:55 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-10971: CWE-922 Insecure Storage of Sensitive Information in FERMAX ELECTRÓNICA S.A.U MeetMe
HighCVE-2025-13696: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in softdiscover Zigaform – Price Calculator & Cost Estimation Form Builder Lite
MediumCVE-2025-11726: CWE-862 Missing Authorization in beaverbuilder Beaver Builder Page Builder – Drag and Drop Website Builder
MediumCVE-2025-13140: CWE-352 Cross-Site Request Forgery (CSRF) in devsoftbaltic SurveyJS: Drag & Drop WordPress Form Builder to create, style and embed multiple forms of any complexity
MediumCVE-2025-13007: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in adreastrian WP Social Ninja – Embed Social Feeds, Customer Reviews, Chat Widgets (Google Reviews, YouTube Feed, Photo Feeds, and More)
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.