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-13641: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

0
High
VulnerabilityCVE-2025-13641cvecve-2025-13641cwe-98
Published: Thu Dec 18 2025 (12/18/2025, 09:21:29 UTC)
Source: CVE Database V5
Vendor/Project: smub
Product: Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Description

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.59.12 via the 'template' shortcode parameter. This is due to insufficient path validation that allows absolute paths to be provided. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary PHP files on the server, bypassing web server restrictions like .htaccess. Successful exploitation could lead to information disclosure, code execution in the WordPress context, and potential remote code execution if combined with arbitrary file upload capabilities.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 21:08:04 UTC

Technical Analysis

CVE-2025-13641 is a Local File Inclusion vulnerability in the NextGEN Gallery WordPress plugin, affecting all versions up to 3.59.12. The issue arises from insufficient validation of the 'template' shortcode parameter, which accepts absolute paths, enabling authenticated attackers with Contributor-level privileges or higher to include arbitrary PHP files. This can bypass web server restrictions like .htaccess, potentially leading to information disclosure and code execution within the WordPress environment. The vulnerability has a CVSS 3.1 score of 8.8 (high severity), indicating network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. No known exploits in the wild or patches are currently documented.

Potential Impact

Successful exploitation allows authenticated users with Contributor or higher privileges to execute arbitrary PHP code on the server by including files via the vulnerable 'template' parameter. This can lead to information disclosure, code execution in the context of the WordPress application, and potentially full remote code execution if combined with other vulnerabilities such as arbitrary file upload. The impact affects confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access and above to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for patches or official mitigations. Avoid using the vulnerable versions of the NextGEN Gallery plugin if 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-25T02:50:31.614Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6943cc484eb3efac36794b0f

Added to database: 12/18/2025, 9:41:28 AM

Last enriched: 4/9/2026, 9:08:04 PM

Last updated: 5/10/2026, 8:19:30 AM

Views: 182

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