CVE-2025-2158
WordPress vulnerability analysis and mitigation

Overview

The WordPress Review Plugin: The Ultimate Solution for Building a Review Website plugin is affected by a Local File Inclusion vulnerability (CVE-2025-2158) discovered on May 10, 2025. The vulnerability affects all versions up to and including 5.3.5, impacting the plugin's Post custom fields functionality (NVD, Wiz).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) with a CVSS v3.1 Base Score of 8.8 HIGH. The vulnerability allows authenticated attackers with Contributor-level access and above to include and execute arbitrary files on the server through the Post custom fields feature (NVD).

Impact

The vulnerability enables attackers to bypass access controls, obtain sensitive data, and potentially achieve code execution in cases where PHP file types can be uploaded and included, or when pearcmd is enabled on a server with registerargcargv also enabled (NVD).

Mitigation and workarounds

Users should update to a version newer than 5.3.5 when available. Until then, it is recommended to restrict access to the Post custom fields functionality to trusted users only and ensure proper access controls are in place (Wiz).

Additional resources


SourceThis report was generated using AI

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