CVE-2025-13641: smub photo gallery, sliders, proofing and themes – nextgen gallery PHP Remote File Inclusion
Vulnerability summary
CVE-2025-13641 is a high (CVSS 8.8) PHP Remote File Inclusion vulnerability in smub photo gallery, sliders, proofing and themes – nextgen gallery. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 54.4% of scored vulnerabilities. Fixed in 4.0.0.
Timeline
- 18-12-2025PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- wordfenceSource8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.75%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
0.00 pp
From 0.75% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Smub1 product
Wordpress1 product
- nextgen-gallery≤ 3.59.12 (fixed in 4.0.0)
2 vendors · 2 products