nK Visual Portfolio, Photo Gallery & Post Grid Local File Inclusion Vulnerability

Vulnerability

A local file inclusion vulnerability has been identified in the nK Visual Portfolio, Photo Gallery & Post Grid WordPress plugin, affecting versions through 3.5.1. This vulnerability arises from improper control of filenames in include or require statements, allowing PHP remote file inclusion.

Impact

Exploitation of this vulnerability could lead to local file inclusion, allowing attackers to include and execute local files on the server. This could potentially be used to access sensitive information, such as database credentials, and could lead to a complete takeover of the database, depending on the server's configuration.

Remediation

Users of the affected plugin should update to version 3.5.2 or later. Patchstack users can enable auto-updates for vulnerable plugins.

Added: Mar 25, 2026, 5:55 PM
Updated: Mar 25, 2026, 5:55 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
5.2
remediation
0.0
relevance
4.7
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.