What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Visual Portfolio contains a code injection vulnerability affecting versions up to 3.5.1. An authenticated user with low privileges can inject and execute arbitrary code on the site by exploiting improper input handling. This grants full control over site content and data. Update to a version newer than 3.5.1 immediately.
What an attacker can do
03Attacker Capabilities
Run arbitrary code on the site and access or modify all data.
Potential impact on your site
04Site Impact
Any low-privilege user account can compromise the entire site, including database access and file modification.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
March 25, 2026
CVE published
April 29, 2026
Record updated