CVE-2025-2158 Path traversal in WordPress Review Plugin: The Ultimate Solution for Building a Review Website
Authenticated contributors can exploit local file inclusion to execute arbitrary PHP code or read sensitive data on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-2158?
CVE-2025-2158 is a high-severity path traversal vulnerability in mythemeshop WordPress Review Plugin: The Ultimate Solution for Building a Review Website, published on 10 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WordPress Review Plugin: The Ultimate Solution for Building a Review Website plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 5.3.5 via the Post custom fields. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where PHP file types can be uploaded and included, or pearcmd is enabled on a server with register_argc_argv also enabled.
Weakness: CWE-22
Which versions are affected by CVE-2025-2158?
How do I fix CVE-2025-2158?
No fix has been published for CVE-2025-2158 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-2158 being exploited?
There is no known exploitation of CVE-2025-2158 in the wild and no public exploit code.
Sources
Also known as GHSA-fr8x-m9pr-h4rh.