Vulnerability

CVE-2025-13641

highCVSS 3.1 8.8Published 18 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning