Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13685: CWE-352 Cross-Site Request Forgery (CSRF) in ays-pro Photo Gallery by Ays – Responsive Image Gallery

0
Medium
VulnerabilityCVE-2025-13685cvecve-2025-13685cwe-352
Published: Tue Dec 02 2025 (12/02/2025, 06:40:24 UTC)
Source: CVE Database V5
Vendor/Project: ays-pro
Product: 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

Machine-generated threat intelligence

AILast updated: 02/27/2026, 10:10:47 UTC

Technical Analysis

CVE-2025-13685 is a medium-severity Cross-Site Request Forgery (CSRF) vulnerability identified in the Photo Gallery by Ays – Responsive Image Gallery WordPress plugin, affecting all versions up to and including 6.4.8. The vulnerability stems from the absence of nonce verification in the 'process_bulk_action()' function, which handles bulk operations like deleting, publishing, or unpublishing galleries. Nonce tokens are security measures designed to ensure that requests originate from legitimate users and not from forged sources. Without this verification, attackers can craft malicious requests that, when an authenticated administrator unknowingly triggers (e.g., by clicking a specially crafted link), execute unauthorized bulk actions on the gallery content. The attack vector is remote with no privileges required, but user interaction is necessary, specifically the administrator clicking the malicious link. The CVSS 3.1 base score of 4.3 reflects the limited impact on confidentiality and availability, focusing mainly on integrity. Although no exploits have been reported in the wild, the vulnerability poses a risk to the integrity of gallery data and site content management. The plugin is widely used in WordPress environments, making the vulnerability relevant to many websites relying on this gallery solution. The lack of a patch link suggests that a fix may not yet be publicly available, emphasizing the need for interim mitigations.

Potential Impact

The primary impact of this vulnerability is on the integrity of website content managed through the Photo Gallery by Ays plugin. An attacker can cause unauthorized bulk deletion, publication, or unpublication of galleries by exploiting the CSRF flaw, potentially leading to loss or unwanted exposure of media content. This can disrupt website operations, damage reputations, and cause administrative overhead to restore content. Since the attack requires an administrator to interact with a malicious link, social engineering is a key component, increasing the risk in environments where administrators may be targeted via phishing. Although confidentiality and availability are not directly affected, the unauthorized modification of content can indirectly impact user trust and site reliability. Organizations relying on this plugin for critical media presentation or e-commerce may face operational disruptions and customer dissatisfaction. The vulnerability's medium severity suggests it is a moderate risk but should not be ignored, especially in high-profile or high-traffic websites.

Mitigation Recommendations

Organizations should immediately verify if they are using the Photo Gallery by Ays plugin and identify the version in use. Since no official patch is currently linked, administrators should consider the following mitigations: 1) Restrict administrative access to trusted networks or use VPNs to reduce exposure to CSRF attacks. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious bulk action requests lacking valid nonce tokens or originating from untrusted sources. 3) Educate administrators about the risks of clicking unsolicited links, especially those that could trigger administrative actions. 4) Temporarily disable or limit bulk action functionalities if feasible until a patch is released. 5) Monitor logs for unusual bulk action activities to detect potential exploitation attempts. 6) Follow the plugin vendor’s updates closely and apply security patches immediately upon release. 7) Consider alternative gallery plugins with stronger security postures if timely patching is not possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 2/27/2026, 10:10:47 AM

Last updated: 3/21/2026, 9:32:54 PM

Views: 131

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses