WP-RecentComments <= 2.2.7 - Unauthenticated Information Exposure

Information Exposure
CVE CVE-2023-23886
CVSS 5.3 (Medium)
Publicly Published February 22, 2023
Last Updated January 22, 2024
Researcher Nguyen Anh Tien


The WP-RecentComments plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 2.2.7. This can allow unauthenticated attackers to extract sensitive data including comments on posts even if the posts themselves are not visible to the user. The plugin uses the `init` hook for this action instead of creating a proper wp_ajax_ action allowing access to this code to anyone.



Vulnerability Details for WP-RecentComments

Software Type Plugin
Software Slug wp-recentcomments (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 2.2.7

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.