Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-32537
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-32537 is a Local File Inclusion (LFI) vulnerability in the Visual Portfolio, Photo Gallery & Post Grid WordPress plugin developed by nK. It affects all versions up to and including 3.5.1, and was patched in version 3.5.2. The vulnerability was reported by researcher Nguyen Ba Khanh on February 1, 2026, and published by Patchstack on March 20, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (Patchstack).

Technical details

The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program — 'PHP Remote File Inclusion'), but the actual exploitation path is Local File Inclusion (LFI). The flaw arises from insufficient validation of user-supplied input used in PHP include/require statements within the plugin, allowing an attacker to manipulate file path parameters to include arbitrary local files from the server. Exploitation requires low privileges (Subscriber-level authentication) and high attack complexity, but no user interaction (Patchstack).

Impact

Successful exploitation allows an attacker to read arbitrary local files on the web server, including sensitive configuration files such as wp-config.php, which contains database credentials. This could lead to complete database takeover, exposure of authentication secrets, and potential for further lateral movement within the hosting environment. Confidentiality, integrity, and availability are all rated as High impact (Patchstack).

Exploitability

The vulnerability has a low EPSS score of approximately 0.114%, suggesting limited observed exploitation activity at this time. No public proof-of-concept exploit code or active in-the-wild exploitation campaigns have been confirmed, and it does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack classifies it as High priority, noting that vulnerabilities of this class are commonly used in mass-exploit campaigns targeting WordPress sites at scale. The vulnerability requires Subscriber-level authentication, which is a low barrier on sites with open registration (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Visual Portfolio, Photo Gallery & Post Grid plugin at version 3.5.1 or earlier using tools like WPScan, Shodan, or Google dorks (e.g., inurl:wp-content/plugins/visual-portfolio).
  2. Obtain low-privilege access: Register or obtain a Subscriber-level account on the target WordPress site, as the vulnerability requires authenticated access.
  3. Identify vulnerable parameter: Locate the plugin functionality that accepts a filename or path parameter used in a PHP include/require call — typically exposed via a REST API endpoint, shortcode handler, or AJAX action.
  4. Craft LFI payload: Submit a manipulated file path value (e.g., ../../../../wp-config.php or /etc/passwd) as the parameter value in a crafted HTTP request to the vulnerable endpoint.
  5. Retrieve sensitive file contents: The server processes the malicious path and returns the contents of the targeted local file in the HTTP response, exposing credentials or other sensitive data (Patchstack).

Indicators of compromise

  • Network: HTTP requests to WordPress plugin endpoints (REST API or AJAX) containing path traversal sequences such as ../, ..%2F, or absolute paths like /etc/passwd or wp-config.php in parameter values.
  • Logs: WordPress or web server access logs showing requests to visual-portfolio plugin endpoints with unusual file path strings in query parameters or POST bodies; HTTP 200 responses to such requests may indicate successful LFI.
  • File System: No direct file system artifacts are expected from read-only LFI, but subsequent attacker actions (e.g., credential reuse after reading wp-config.php) may result in unauthorized admin logins or new admin user creation.
  • Process: Unexpected database connections or authentication attempts using credentials extracted from wp-config.php originating from unfamiliar IP addresses.

Mitigation and workarounds

The vendor has released version 3.5.2 of the Visual Portfolio, Photo Gallery & Post Grid plugin, which resolves this vulnerability. Site administrators should update the plugin immediately via the WordPress dashboard or manually. Patchstack users benefit from an automatically deployed virtual patch (mitigation rule) that blocks exploitation attempts without requiring an immediate plugin update. Sites with open user registration should consider temporarily disabling registration or restricting Subscriber-level access until the patch is applied (Patchstack).

Community reactions

Wordfence included this vulnerability in their weekly WordPress vulnerability report covering March 16–22, 2026, and Sucuri referenced it in their March 2026 vulnerability patch roundup, indicating broad coverage within the WordPress security community (Wordfence Blog, Sucuri Blog). The vulnerability was also noted on Mastodon via The Hacker Wire, reflecting general community awareness. No extraordinary controversy or vendor dispute has been reported.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93031HIGH8.8
  • use-your-drive
NoYesSep 18, 2026
CVE-2026-87915HIGH7.2
  • popup-maker
NoYesSep 18, 2026
CVE-2026-18405HIGH7.2
  • jeg-elementor-kit
NoYesSep 18, 2026
CVE-2026-15797MEDIUM6.4
  • popup-maker
NoYesSep 18, 2026
CVE-2026-90884MEDIUM5.4
  • wp-recipe-maker
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management