Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in nK Visual Portfolio, Photo Gallery & Post Grid visual-portfolio allows PHP Local File Inclusion.This issue affects Visual Portfolio, Photo Gallery & Post Grid: from n/a through <= 3.5.1.
AnalysisAI
A Local File Inclusion (LFI) vulnerability exists in the nK Visual Portfolio, Photo Gallery & Post Grid WordPress plugin through version 3.5.1, allowing attackers to include and execute arbitrary local files on the server via improper control of filename parameters in PHP include/require statements. An attacker with network access can exploit this vulnerability to disclose sensitive information such as configuration files, database credentials, or other local files stored on the web server. While CVSS and EPSS scores are not publicly available, the vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require) and affects all installations of this plugin running version 3.5.1 or earlier.
Technical ContextAI
This vulnerability is a classic PHP Local File Inclusion (LFI) flaw rooted in CWE-98, which describes improper control of filenames passed to PHP include() or require() statements. The nK Visual Portfolio plugin (identified by CPE cpe:2.3:a:nk:visual_portfolio,_photo_gallery_&_post_grid:*:*:*:*:*:*:*:*) fails to properly sanitize user-supplied input before using it in file inclusion operations. Rather than implementing strict whitelisting or path canonicalization, the plugin directly incorporates attacker-controlled parameters into include/require directives. This allows attackers to traverse the filesystem using path traversal sequences (e.g., '../../../etc/passwd') or access wrapper protocols to read arbitrary files. The vulnerability affects the WordPress plugin ecosystem, which runs on PHP and is widely deployed across millions of websites.
RemediationAI
Immediately upgrade nK Visual Portfolio, Photo Gallery & Post Grid to a patched version beyond 3.5.1 (consult the vendor's official repository or security advisory for the latest stable release). If an immediate upgrade is not feasible, implement network-level controls by restricting web server access to trusted IP ranges only and disabling PHP file execution in directories where user uploads or plugin files are stored via .htaccess (php_flag engine off) or web server configuration. Additionally, enable PHP open_basedir directive to restrict file access to specific directories, implement strict input validation and output encoding throughout the plugin stack, and monitor log files for suspicious include/require patterns (e.g., attempts to access ../../../ paths). Contact the nK development team or monitor their official security advisory channels for patch availability and detailed remediation guidance.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-15911
GHSA-ppx9-7cj4-xjjh