SecurityContext

CVE-2025-2158: WordPress Review Plugin - File Inclusion

  • Cve: CVE-2025-2158
  • Name: WordPress Review Plugin - File Inclusion
  • 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.
  • Impact: Authenticated attackers can include and execute arbitrary PHP files, potentially leading to full server compromise or data theft.
  • Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_read, file_system_write, remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs contributor or higher access
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00896
  • Epss percentile: 0.60465
  • Assignee: [email protected]
  • Published at: 2025-05-10T10:15:20Z
  • Age in days: 563
  • Modified at: 2026-06-17T09:06:26Z
  • References total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-2158
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://plugins.trac.wordpress.org/browser/wp-review/tags/5.3.5/includes/functions.php
https://plugins.trac.wordpress.org/browser/wp-review/tags/5.3.5/includes/shortcodes.php
https://www.wordfence.com/threat-intel/vulnerabilities/id/a058e6bf-109f-4985-8aad-08858553c4c3?source=cve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts