CVE-2025-13641smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
High 8.8
Follow: this CVE · smub · smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- Yes
- Published
- Dec 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-98
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery.
Affected products
- smub · Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.