Related Posts for WordPress Security & Risk Analysis

wordpress.org/plugins/related-posts-for-wp

The best WordPress plugin for related posts. Simple, flexible, powerful algorithm, and built-in caching. Fully setup with only 1 click!

20K active installs v2.3.0 PHP 7.2+ WP 5.0+ Updated May 10, 2025
contextual-relationsinline-related-postsrelatedseo-bounce-ratesimilar-posts
91
A · Safe
CVEs total6
Unpatched0
Last CVEMar 13, 2024
Safety Verdict

Is Related Posts for WordPress Safe to Use in 2026?

Generally Safe

Score 91/100

Related Posts for WordPress has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

6 known CVEsLast CVE: Mar 13, 2024Updated 1yr ago
Risk Assessment

The plugin "related-posts-for-wp" v2.3.0 exhibits a mixed security posture. While it has a small attack surface with no unprotected entry points detected in the static analysis, and includes a reasonable number of nonce and capability checks, there are significant concerns regarding output escaping and its historical vulnerability profile. The static analysis reveals that only 37% of outputs are properly escaped, which is a substantial weakness that could lead to Cross-Site Scripting (XSS) vulnerabilities, especially when combined with the plugin's history of XSS and CSRF issues.

The plugin's history of 6 medium-severity CVEs, all of which are reportedly patched, is a positive sign of ongoing maintenance. However, the fact that these were medium-severity and included common web vulnerabilities like XSS and CSRF suggests a pattern of potential weaknesses in input validation and output sanitization. The taint analysis, while not revealing critical or high-severity unsanitized flows, does show 3 flows with unsanitized paths, which warrants further investigation.

In conclusion, while the plugin demonstrates some good security practices like limited attack surface and checks, the poor output escaping rate and the historical prevalence of XSS and CSRF vulnerabilities present a notable risk. Users should be aware of the potential for XSS, and while no current unpatched CVEs are listed, past vulnerabilities indicate a need for careful monitoring and prompt updates when new versions are released.

Key Concerns

  • Low percentage of properly escaped output
  • 3 unsanitized flows in taint analysis
  • History of 6 medium severity CVEs
Vulnerabilities
6 published

Related Posts for WordPress Security Vulnerabilities

CVEs by Year

1 CVE in 2015
2015
2 CVEs in 2021
2021
2 CVEs in 2022
2022
1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
6

6 total CVEs

CVE-2024-0592medium · 5.4Cross-Site Request Forgery (CSRF)

Related Posts for WordPress <= 2.2.1 - Cross-Site Request Forgery

Mar 13, 2024 Patched in 2.2.2 (139d)
CVE-2022-3506medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Related Posts for WordPress <= 2.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting

Oct 24, 2022 Patched in 2.1.3 (456d)
WF-42c38563-ed78-4e65-8d1f-b3aa6444923d-related-posts-for-wpmedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Related Posts for WordPress <= 2.1.1 - Reflected Cross-Site Scripting

Oct 3, 2022 Patched in 2.1.2 (477d)
CVE-2021-24482medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Related Posts for WordPress <= 2.0.4 - Stored Cross-Site Scripting

May 17, 2021 Patched in 2.0.5 (981d)
CVE-2021-24180medium · 5.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Related Posts for WordPress <= 2.0.3 - Reflected Cross-Site Scripting

Mar 15, 2021 Patched in 2.0.4 (1044d)
WF-4f32d1fe-17ea-48c0-b276-36c8fcaad4a6-related-posts-for-wpmedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Related Posts for WordPress < 1.8.2 - Reflected Cross-Site Scripting

Apr 20, 2015 Patched in 1.8.2 (3200d)
Code Analysis
Analyzed Mar 16, 2026

Related Posts for WordPress Code Analysis

Dangerous Functions
0
Raw SQL Queries
13
17 prepared
Unescaped Output
46
27 escaped
Nonce Checks
7
Capability Checks
6
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

57% prepared30 total queries

Output Escaping

37% escaped73 total outputs
Data Flows · Security
3 unsanitized

Data Flow Analysis

12 flows3 with unsanitized paths
catch_search (classes\hooks\class-hook-link-related-screen.php:42)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Related Posts for WordPress Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[rp4wp] classes\hooks\class-hook-shortcode.php:11
WordPress Hooks 12
actionadmin_noticesclasses\class-dependencies.php:16
actionadmin_noticesclasses\class-is-installing-notice.php:59
filterposts_whereclasses\class-link-related-table.php:135
actionadmin_noticesclasses\class-nag-manager.php:85
actionadmin_noticesclasses\class-playground.php:28
actioninitclasses\class-rp4wp.php:63
actionadmin_noticesclasses\class-rp4wp.php:70
actionnetwork_admin_noticesclasses\class-rp4wp.php:71
actioninitclasses\class-rp4wp.php:98
actionadd_meta_boxesclasses\meta-boxes\class-meta-box-manage.php:17
actionadmin_initclasses\settings\class-settings.php:138
actionplugins_loadedrelated-posts-for-wp.php:55
Maintenance & Trust

Related Posts for WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 10, 2025
PHP min version7.2
Downloads635K

Community Trust

Rating92/100
Number of ratings325
Active installs20K
Developer Profile

Related Posts for WordPress Developer Profile

Barry Kooij

8 plugins · 62K total installs

69
trust score
Avg Security Score
86/100
Avg Patch Time
1432 days
View full developer profile
Detection Fingerprints

How We Detect Related Posts for WordPress

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/related-posts-for-wp/assets/css/edit-post.css/wp-content/plugins/related-posts-for-wp/assets/js/edit-post.js/wp-content/plugins/related-posts-for-wp/assets/js/settings.js/wp-content/plugins/related-posts-for-wp/assets/css/install.css/wp-content/plugins/related-posts-for-wp/assets/js/install.js
Script Paths
/wp-content/plugins/related-posts-for-wp/assets/js/edit-post.js/wp-content/plugins/related-posts-for-wp/assets/js/settings.js/wp-content/plugins/related-posts-for-wp/assets/js/install.js
Version Parameters
/wp-content/plugins/related-posts-for-wp/assets/css/edit-post.css?ver=/wp-content/plugins/related-posts-for-wp/assets/js/edit-post.js?ver=/wp-content/plugins/related-posts-for-wp/assets/js/settings.js?ver=/wp-content/plugins/related-posts-for-wp/assets/css/install.css?ver=/wp-content/plugins/related-posts-for-wp/assets/js/install.js?ver=

HTML / DOM Fingerprints

CSS Classes
rp4wp-steprp4wp-step-1rp4wp-step-2rp4wp-step-3install-stepsstep-bar-active
HTML Comments
<!-- Check nonce --><!-- Do we have a reinstall? --><!-- Only run queries if we have ID's --><!-- Delete all link posts -->+9 more
Data Attributes
rel='1'rel='2'rel='3'
JS Globals
rp4wp_js
FAQ

Frequently Asked Questions about Related Posts for WordPress