Vulnerability in Smub Photo Gallery, Sliders, Proofing And Themes – Nextgen Gallery
CVE-2025-13641
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (53.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 53.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.008 · change: +0.000
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/0a01e1c9-67f4-4cc1-b58b-9cc14…
- plugins.trac.wordpress.org/browser/nextgen-gallery/trunk/src/DisplayType/Legacy…
- plugins.trac.wordpress.org/browser/nextgen-gallery/trunk/src/DisplayType/Contro…
- plugins.trac.wordpress.org/changeset/3415575/nextgen-gallery/trunk/src/DisplayT…
Frequently asked questions
- What is CVE-2025-13641?
- CVE-2025-13641 is a high-severity vulnerability in Smub Photo Gallery, Sliders, Proofing And Themes – Nextgen Gallery, classified under PHP Remote File Inclusion. CVSS score: 8.8/10. Published 2025-12-18.
- How severe is CVE-2025-13641?
- High severity. CVSS v3 base score is 8.8 out of 10.