CVE 8.8 HIGH

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.12 - Authenticated (Contributor+) Local File Inclusion via 'template'_CVE-2025-13641

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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 Analysis

Local File Inclusion vulnerability in NextGEN Gallery plugin for WordPress via 'template' shortcode parameter, allowing authenticated attackers to include and execute arbitrary PHP files

Basic Information

ID CVE-2025-13641
Source Wordfence
Published Dec 18, 2025 at 09:21

Affected Product

Vendor smub
Product Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Version *
Affected Versions smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery *

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor WordPress
Product NextGEN Gallery
Version 3.59.12 and below

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.